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:
Jason Booth 2011-02-19 18:55:01 -06:00
parent 7e858e39d5
commit 8469b323d3
6 changed files with 18 additions and 9 deletions

View file

@ -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;