Skip to content

Commit

Permalink
Fix stripped log dict tag registry being broken
Browse files Browse the repository at this point in the history
  • Loading branch information
Roadhog360 committed Jan 12, 2024
1 parent b412c07 commit 6c87e34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ private static void registerOreDictionary() {
registerOre("logWood", ModBlocks.BARK.newItemStack(1, i));
registerOre("logWood", ModBlocks.BARK2.newItemStack(1, i));

if (i % 2 == 1 && ConfigBlocksItems.enableStrippedLogs && i >= 2 && ConfigBlocksItems.enableBarkLogs) {
if (i == 0 || (i % 2 == 1 && ConfigBlocksItems.enableStrippedLogs) || (i >= 2 && ConfigBlocksItems.enableBarkLogs)) {
registerOre("logWood", ModBlocks.CRIMSON_STEM.newItemStack(1, i));
registerOre("logWood", ModBlocks.WARPED_STEM.newItemStack(1, i));
registerOre("logWood", ModBlocks.MANGROVE_LOG.newItemStack(1, i));
Expand Down

0 comments on commit 6c87e34

Please sign in to comment.