Changed name

This commit is contained in:
paulevsGitch 2020-12-12 13:19:21 +03:00
parent a82c9225a4
commit 2bf4e01e9c
2 changed files with 3 additions and 3 deletions

View file

@ -264,7 +264,7 @@ public class EndBlocks {
public static void register() {}
public static Block registerBlock(Identifier id, Block block) {
if (!Configs.BLOCK_CONFIG.getBoolean(id, "blocks", true)) {
if (!Configs.BLOCK_CONFIG.getBoolean(id, "enabled", true)) {
return block;
}
Registry.register(Registry.BLOCK, id, block);