This commit is contained in:
Eoghanmc22 2020-11-21 17:08:56 -05:00
parent 04fc38a14f
commit 1af58b1d96

View File

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