Fixed registry cleanup inverted throttler
This commit is contained in:
parent
4565c95abf
commit
626566150a
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ public class StarMapRegistry {
|
||||||
// do not call during tileEntity construction (readFromNBT and validate)
|
// do not call during tileEntity construction (readFromNBT and validate)
|
||||||
private static boolean isExceptionReported = false;
|
private static boolean isExceptionReported = false;
|
||||||
private void cleanup() {
|
private void cleanup() {
|
||||||
if (Commons.throttleMe("Starmap registry cleanup", 180000)) {
|
if (!Commons.throttleMe("Starmap registry cleanup", 180000)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LocalProfiler.start("Starmap registry cleanup");
|
LocalProfiler.start("Starmap registry cleanup");
|
||||||
|
|
Loading…
Reference in a new issue