diff --git a/common/src/main/java/org/embeddedt/modernfix/world/IntegratedWatchdog.java b/common/src/main/java/org/embeddedt/modernfix/world/IntegratedWatchdog.java index cfa52d7e..cfb4a0de 100644 --- a/common/src/main/java/org/embeddedt/modernfix/world/IntegratedWatchdog.java +++ b/common/src/main/java/org/embeddedt/modernfix/world/IntegratedWatchdog.java @@ -37,6 +37,9 @@ public class IntegratedWatchdog extends Thread { if(!lastTickStart.isPresent()) { return; } + if(lastTickStart.getAsLong() < 0) { + continue; + } long curTime = Util.getMillis(); long delta = curTime - lastTickStart.getAsLong(); if(delta > MAX_TICK_DELTA) {