Fixes #556
Fixes #540
Fixed plot analysis being slow
Fixed auto updating
This commit is contained in:
boy0001 2015-08-20 14:56:25 +10:00
parent be94aa53d3
commit d0605b9b55
23 changed files with 412 additions and 328 deletions

View file

@ -526,8 +526,13 @@ public class MainUtil {
public static int getBorder(final String worldname) {
if (worldBorder.containsKey(worldname)) {
PS.get().getPlotWorld(worldname);
return worldBorder.get(worldname) + 16;
int border = worldBorder.get(worldname) + 16;
if (border == 0) {
return Integer.MAX_VALUE;
}
else {
return border;
}
}
return Integer.MAX_VALUE;
}