mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-28 12:07:42 +01:00
fix Main
This commit is contained in:
parent
04fc38a14f
commit
1af58b1d96
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user