Enabled compression by default, provide .editorconfig file

This commit is contained in:
themode 2021-03-27 19:44:09 +01:00
parent 27cfe9c92b
commit dedd807ceb
2 changed files with 1248 additions and 2 deletions

1248
.editorconfig Normal file

File diff suppressed because it is too large Load Diff

View File

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