From 626566150abf48c0c0f2aeb267d047b7ae0dcf58 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 21 Sep 2019 09:26:33 +0200 Subject: [PATCH] Fixed registry cleanup inverted throttler --- src/main/java/cr0s/warpdrive/data/StarMapRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cr0s/warpdrive/data/StarMapRegistry.java b/src/main/java/cr0s/warpdrive/data/StarMapRegistry.java index c201dbaa..07eec472 100644 --- a/src/main/java/cr0s/warpdrive/data/StarMapRegistry.java +++ b/src/main/java/cr0s/warpdrive/data/StarMapRegistry.java @@ -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");