Skip to content

Commit

Permalink
Fix tab references using the wrong ID
Browse files Browse the repository at this point in the history
Signed-off-by: TheSilkMiner <thesilkminer@outlook.com>
  • Loading branch information
TheSilkMiner committed Aug 1, 2022
1 parent 5746e13 commit 2f609e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@ZenRegister(loaders = ContentTweakerConstants.CONTENT_LOADER_ID)
public final class CreativeTabReference extends Reference<CreativeModeTab> {
private CreativeTabReference(final String id) {
super(VanillaObjectTypes.CREATIVE_TAB, new ResourceLocation(id));
super(VanillaObjectTypes.CREATIVE_TAB, CreativeTabRegistry.fromId(id));
}

@ZenCodeType.Method("of")
Expand Down

0 comments on commit 2f609e0

Please sign in to comment.