Skip to content

Commit

Permalink
Add anvils to item tag, supersedes #212
Browse files Browse the repository at this point in the history
Signed-off-by: Noaaan <[email protected]>
  • Loading branch information
Noaaan committed Dec 14, 2023
1 parent 0f15944 commit dd376c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/nourl/mythicmetals/blocks/BlockSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ private void register() {
TagInjector.inject(Registries.BLOCK, RegistryHelper.id("anvils"), anvilBlock);
TagInjector.inject(Registries.BLOCK, level, anvilBlock);
TagInjector.inject(Registries.BLOCK, new Identifier("anvil"), anvilBlock);
TagInjector.inject(Registries.ITEM, new Identifier("anvil"), anvilBlock.asItem());
}));
}
miningLevels.forEach((block, level) -> {
Expand Down

0 comments on commit dd376c2

Please sign in to comment.