mirror of
https://github.com/Minestom/Minestom.git
synced 2024-10-27 13:59:34 +01:00
Enable packet rate limit by default with a value of 300
This commit is contained in:
parent
a992dc1ff9
commit
f24ae00c8f
@ -113,7 +113,7 @@ public final class MinecraftServer {
|
||||
private static boolean fixLighting = true;
|
||||
|
||||
// Rate Limiting
|
||||
private static int rateLimit = 0;
|
||||
private static int rateLimit = 300;
|
||||
private static int maxPacketSize = 30_000;
|
||||
|
||||
private static PacketListenerManager packetListenerManager;
|
||||
|
Loading…
Reference in New Issue
Block a user