diff --git a/src/main/java/emu/grasscutter/server/scheduler/ServerTask.java b/src/main/java/emu/grasscutter/server/scheduler/ServerTask.java index 18b3b1279..44a6ed04e 100644 --- a/src/main/java/emu/grasscutter/server/scheduler/ServerTask.java +++ b/src/main/java/emu/grasscutter/server/scheduler/ServerTask.java @@ -44,8 +44,7 @@ public final class ServerTask implements Runnable { if (shouldRun) this.considerDelay = false; return shouldRun; // Return the result. - } else if (this.period != -1) - return ticks % this.period == 0; + } else if (this.period != -1) return ticks % this.period == 0; else return true; }