Skip to content

Commit

Permalink
Use wildcard metdata to register cherry tree sapling
Browse files Browse the repository at this point in the history
  • Loading branch information
jss2a98aj committed Apr 17, 2024
1 parent a2d5b1c commit 25e3e34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private static void registerOreDictionary() {
registerOre("pressurePlateWood", pressurePlate.get());
}

registerOre("treeSapling", ModBlocks.SAPLING.get());
registerOre("treeSapling", ModBlocks.SAPLING.newItemStack(1, OreDictionary.WILDCARD_VALUE));

for (int i = 0; i < modernWoodTypesEnabled.length; i++) {
if (modernWoodTypesEnabled[i]) {
Expand Down

0 comments on commit 25e3e34

Please sign in to comment.