mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-29 04:28:21 +01:00
Remove unnecessary constant
This commit is contained in:
parent
d8274bbdf1
commit
a8f52aa39d
@ -91,8 +91,7 @@ public final class MinecraftServer {
|
||||
// Config
|
||||
// Can be modified at performance cost when increased
|
||||
public static final int TICK_PER_SECOND = 20;
|
||||
private static final int MS_TO_SEC = 1000;
|
||||
public static final int TICK_MS = MS_TO_SEC / TICK_PER_SECOND;
|
||||
public static final int TICK_MS = 1000 / TICK_PER_SECOND;
|
||||
|
||||
// Network monitoring
|
||||
private static int rateLimit = 300;
|
||||
|
Loading…
Reference in New Issue
Block a user