mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-01 06:33:38 +01:00
Fixed client-updates for JsonFile.
This commit is contained in:
parent
04d93d35fd
commit
d6cce5ed48
@ -92,7 +92,7 @@ public class JsonFileClientUpdateComponent extends ClientUpdateComponent {
|
|||||||
|
|
||||||
JSONObject update = new JSONObject();
|
JSONObject update = new JSONObject();
|
||||||
update.put("timestamp", current);
|
update.put("timestamp", current);
|
||||||
ClientUpdateEvent clientUpdate = new ClientUpdateEvent(current, dynmapWorld, update);
|
ClientUpdateEvent clientUpdate = new ClientUpdateEvent(lastTimestamp, dynmapWorld, update);
|
||||||
plugin.events.trigger("buildclientupdate", clientUpdate);
|
plugin.events.trigger("buildclientupdate", clientUpdate);
|
||||||
|
|
||||||
outputFile = getStandaloneFile("dynmap_" + world.getName() + ".json");
|
outputFile = getStandaloneFile("dynmap_" + world.getName() + ".json");
|
||||||
|
Loading…
Reference in New Issue
Block a user