mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-17 20:31:37 +01:00
Another fix for chat.
This commit is contained in:
parent
f00e05f25e
commit
ca9be50422
@ -86,14 +86,13 @@ public class JsonFileClientUpdateComponent extends ClientUpdateComponent {
|
||||
|
||||
protected void writeUpdates() {
|
||||
File outputFile;
|
||||
|
||||
//Handles Updates
|
||||
for (DynmapWorld dynmapWorld : plugin.mapManager.worlds.values()) {
|
||||
World world = dynmapWorld.world;
|
||||
|
||||
JSONObject update = new JSONObject();
|
||||
update.put("timestamp", currentTimestamp);
|
||||
ClientUpdateEvent clientUpdate = new ClientUpdateEvent(lastTimestamp, dynmapWorld, update);
|
||||
ClientUpdateEvent clientUpdate = new ClientUpdateEvent(currentTimestamp - 30000, dynmapWorld, update);
|
||||
plugin.events.trigger("buildclientupdate", clientUpdate);
|
||||
|
||||
outputFile = getStandaloneFile("dynmap_" + world.getName() + ".json");
|
||||
|
Loading…
Reference in New Issue
Block a user