Potential fix to skip chunks being kept loaded

This commit is contained in:
Jesse Boyd 2019-04-08 01:43:38 +10:00
parent 3651b3ac8d
commit 259fe94f83
No known key found for this signature in database
GPG key ID: 59F1DE6293AF6E1F

View file

@ -252,10 +252,11 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
if (!result) {
continue outer;
}
} while (index < chunks.length
&& System.currentTimeMillis() - start < 5);
if (System.currentTimeMillis() - start > 5) {
return;
}
} while (index < chunks.length);
}
}
}
}