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
7e858e39d5
commit
8469b323d3
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