Fixed client-updates for JsonFile.

This commit is contained in:
FrozenCow 2011-05-22 18:11:16 +02:00
parent 04d93d35fd
commit d6cce5ed48

View File

@ -92,7 +92,7 @@ public class JsonFileClientUpdateComponent extends ClientUpdateComponent {
JSONObject update = new JSONObject();
update.put("timestamp", current);
ClientUpdateEvent clientUpdate = new ClientUpdateEvent(current, dynmapWorld, update);
ClientUpdateEvent clientUpdate = new ClientUpdateEvent(lastTimestamp, dynmapWorld, update);
plugin.events.trigger("buildclientupdate", clientUpdate);
outputFile = getStandaloneFile("dynmap_" + world.getName() + ".json");