mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-16 13:11:40 +01:00
Modifiable TPS
This commit is contained in:
parent
a8f52aa39d
commit
653417be75
@ -90,7 +90,7 @@ public final class MinecraftServer {
|
|||||||
|
|
||||||
// Config
|
// Config
|
||||||
// Can be modified at performance cost when increased
|
// Can be modified at performance cost when increased
|
||||||
public static final int TICK_PER_SECOND = 20;
|
public static final int TICK_PER_SECOND = Integer.getInteger("minestom.tps", 20);
|
||||||
public static final int TICK_MS = 1000 / TICK_PER_SECOND;
|
public static final int TICK_MS = 1000 / TICK_PER_SECOND;
|
||||||
|
|
||||||
// Network monitoring
|
// Network monitoring
|
||||||
|
Loading…
Reference in New Issue
Block a user