Fixed JsonTimerTask.
This commit is contained in:
parent
119abb33eb
commit
5778611227
2 changed files with 2 additions and 4 deletions
|
|
@ -35,7 +35,7 @@ class JsonTimerTask extends TimerTask {
|
|||
update.timestamp = current;
|
||||
update.servertime = world.getTime() % 24000;
|
||||
|
||||
Player[] players = mapManager.playerList.getVisiblePlayers();
|
||||
Player[] players = plugin.playerList.getVisiblePlayers();
|
||||
update.players = new Client.Player[players.length];
|
||||
for (int i = 0; i < players.length; i++) {
|
||||
Player p = players[i];
|
||||
|
|
@ -63,4 +63,4 @@ class JsonTimerTask extends TimerTask {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue