Fixed mistake with map updates only pulling interval+10 instead of interval+10000

This commit is contained in:
Jason Booth 2011-02-17 11:14:37 -06:00
parent 3916c363ae
commit 13099587e0
1 changed files with 1 additions and 1 deletions

View File

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