mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 04:23:26 +00:00
Fixes
Fixes #556 Fixes #540 Fixed plot analysis being slow Fixed auto updating
This commit is contained in:
parent
be94aa53d3
commit
d0605b9b55
23 changed files with 412 additions and 328 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue