From 29ddd6c2f6abae83b94acd194bc41ae3f52ca466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ales=CC=8C=20Fabia=CC=81nek?= Date: Sat, 4 Dec 2021 15:03:43 +0100 Subject: [PATCH] Fixed for loop --- .../com/faboslav/friendsandfoes/registry/BlockRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/faboslav/friendsandfoes/registry/BlockRegistry.java b/src/main/java/com/faboslav/friendsandfoes/registry/BlockRegistry.java index 3c2dcb3c8..1cac56aec 100644 --- a/src/main/java/com/faboslav/friendsandfoes/registry/BlockRegistry.java +++ b/src/main/java/com/faboslav/friendsandfoes/registry/BlockRegistry.java @@ -55,7 +55,7 @@ public class BlockRegistry WAXED_WEATHERED_COPPER_BUTTON = register("waxed_weathered_copper_button", new CopperButtonBlock(AbstractBlock.Settings.copy(COPPER_BUTTON))); WAXED_OXIDIZED_COPPER_BUTTON = register("waxed_oxidized_copper_button", new CopperButtonBlock(AbstractBlock.Settings.copy(COPPER_BUTTON))); - for (Block block : Registry.BLOCK) { + for (Block block : BLOCKS) { for (BlockState blockState : block.getStateManager().getStates()) { Block.STATE_IDS.add(blockState); }