Added timestamp support to Update Tiles and Chat.
New web config to handle for jsonfile method Modified webclient to handle timestamps to prevent duplication. Removed duplicate code in JsonTimerTask.java
This commit is contained in:
parent
13099587e0
commit
6ab82174a5
6 changed files with 18 additions and 9 deletions
|
|
@ -37,8 +37,6 @@ class JsonTimerTask extends TimerTask
|
|||
long current = System.currentTimeMillis();
|
||||
|
||||
Client.Update update = new Client.Update();
|
||||
update.timestamp = current;
|
||||
update.servertime = world.getTime();
|
||||
|
||||
update.timestamp = current;
|
||||
update.servertime = world.getTime() % 24000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue