mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-26 09:31:31 +01:00
Fixed mistake with map updates only pulling interval+10 instead of interval+10000
This commit is contained in:
parent
3916c363ae
commit
13099587e0
@ -52,7 +52,7 @@ class JsonTimerTask extends TimerTask
|
|||||||
update.players[i] = new Client.Player(p.getName(), pl.getWorld().getName(), pl.getX(), pl.getY(), pl.getZ());
|
update.players[i] = new Client.Player(p.getName(), pl.getWorld().getName(), pl.getX(), pl.getY(), pl.getZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
update.updates = mapManager.getWorldUpdates(world.getName(), current - (configuration.getInt("jsonfile-interval", 1) + 10));
|
update.updates = mapManager.getWorldUpdates(world.getName(), current - (configuration.getInt("jsonfile-interval", 1) + 10000));
|
||||||
|
|
||||||
File webpath = new File(this.configuration.getString("webpath", "web"), "dynmap_"+world.getName()+".json");
|
File webpath = new File(this.configuration.getString("webpath", "web"), "dynmap_"+world.getName()+".json");
|
||||||
File outputFile;
|
File outputFile;
|
||||||
|
Loading…
Reference in New Issue
Block a user