mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 17:23:21 +08:00
Format code [skip actions]
This commit is contained in:
parent
42e6e4c44d
commit
c78f9f2801
@ -44,8 +44,7 @@ public final class ServerTask implements Runnable {
|
|||||||
if (shouldRun) this.considerDelay = false;
|
if (shouldRun) this.considerDelay = false;
|
||||||
|
|
||||||
return shouldRun; // Return the result.
|
return shouldRun; // Return the result.
|
||||||
} else if (this.period != -1)
|
} else if (this.period != -1) return ticks % this.period == 0;
|
||||||
return ticks % this.period == 0;
|
|
||||||
else return true;
|
else return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user