From 1af58b1d96c1f2f9b6084dda8cd4f0573655b199 Mon Sep 17 00:00:00 2001 From: Eoghanmc22 Date: Sat, 21 Nov 2020 17:08:56 -0500 Subject: [PATCH] fix Main --- src/test/java/demo/Main.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/demo/Main.java b/src/test/java/demo/Main.java index 703dabb8f..516251b91 100644 --- a/src/test/java/demo/Main.java +++ b/src/test/java/demo/Main.java @@ -30,9 +30,7 @@ public class Main { final NettyServer nettyServer = MinecraftServer.getNettyServer(); final GlobalChannelTrafficShapingHandler trafficHandler = nettyServer.getGlobalTrafficHandler(); trafficHandler.setReadChannelLimit(500_000); - trafficHandler.setReadChannelLimit(500_000); - //trafficHandler.setReadLimit(500_000); - //trafficHandler.setReadLimit(500_000); + trafficHandler.setReadLimit(500_000); BlockManager blockManager = MinecraftServer.getBlockManager(); blockManager.registerCustomBlock(new StoneBlock());