Skip to content

Commit

Permalink
Fix BlockBuilder default tags not triggering tag events
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxNeedsSnacks committed Aug 16, 2023
1 parent 1c38a30 commit f2af8f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -636,13 +636,13 @@ public BlockBuilder tagBoth(ResourceLocation tag) {

@Info("Tags the block with the given tag.")
public BlockBuilder tagBlock(ResourceLocation tag) {
defaultTags.add(tag);
super.tag(tag);
return this;
}

@Info("Tags the item with the given tag.")
public BlockBuilder tagItem(ResourceLocation tag) {
itemBuilder.defaultTags.add(tag);
itemBuilder.tag(tag);
return this;
}

Expand Down

0 comments on commit f2af8f9

Please sign in to comment.