mirror of
https://github.com/Minestom/Minestom.git
synced 2024-08-20 11:22:51 +02: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