mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-07 11:20:09 +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 NettyServer nettyServer = MinecraftServer.getNettyServer();
|
||||||
final GlobalChannelTrafficShapingHandler trafficHandler = nettyServer.getGlobalTrafficHandler();
|
final GlobalChannelTrafficShapingHandler trafficHandler = nettyServer.getGlobalTrafficHandler();
|
||||||
trafficHandler.setReadChannelLimit(500_000);
|
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 blockManager = MinecraftServer.getBlockManager();
|
||||||
blockManager.registerCustomBlock(new StoneBlock());
|
blockManager.registerCustomBlock(new StoneBlock());
|
||||||
|
Loading…
Reference in New Issue
Block a user