Fixed registry cleanup inverted throttler

This commit is contained in:
Unknown 2019-09-21 09:26:33 +02:00
parent 4565c95abf
commit 626566150a

View file

@ -519,7 +519,7 @@ public class StarMapRegistry {
// do not call during tileEntity construction (readFromNBT and validate)
private static boolean isExceptionReported = false;
private void cleanup() {
if (Commons.throttleMe("Starmap registry cleanup", 180000)) {
if (!Commons.throttleMe("Starmap registry cleanup", 180000)) {
return;
}
LocalProfiler.start("Starmap registry cleanup");