mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-24 18:18:41 +01:00
Enabled compression by default, provide .editorconfig file
This commit is contained in:
parent
27cfe9c92b
commit
dedd807ceb
1248
.editorconfig
Normal file
1248
.editorconfig
Normal file
File diff suppressed because it is too large
Load Diff
@ -13,7 +13,6 @@ import net.minestom.server.instance.block.BlockManager;
|
||||
import net.minestom.server.instance.block.rule.vanilla.RedstonePlacementRule;
|
||||
import net.minestom.server.storage.StorageManager;
|
||||
import net.minestom.server.storage.systems.FileStorageSystem;
|
||||
import net.minestom.server.utils.Utils;
|
||||
import net.minestom.server.utils.time.TimeUnit;
|
||||
import net.minestom.server.utils.time.UpdateOption;
|
||||
|
||||
@ -24,7 +23,6 @@ public class Main {
|
||||
MinecraftServer minecraftServer = MinecraftServer.init();
|
||||
|
||||
// MinecraftServer.setShouldProcessNettyErrors(true);
|
||||
MinecraftServer.setCompressionThreshold(0);
|
||||
|
||||
BlockManager blockManager = MinecraftServer.getBlockManager();
|
||||
blockManager.registerCustomBlock(new CustomBlockSample());
|
||||
|
Loading…
Reference in New Issue
Block a user