Enable packet rate limit by default with a value of 300

This commit is contained in:
themode 2020-11-13 02:07:01 +01:00
parent a992dc1ff9
commit f24ae00c8f

View File

@ -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;