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