Skip to content

Commit

Permalink
Fix /ccreativetab
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Apr 23, 2024
1 parent 9574d9d commit 4a2d64b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static void registerItemGroups() {
// FIXME: this is a hack because creative tabs must be registered on startup but item stacks normally can't be
// parsed until the world is loaded. Use the default registries for now, as most things in item stacks aren't
// in dynamic registries yet. Fix this once creative tabs can be registered dynamically.
var holderLookupProvider = new RegistryAccess.ImmutableRegistryAccess(BuiltInRegistries.REGISTRY.stream().toList()).freeze();
var holderLookupProvider = new RegistryAccess.ImmutableRegistryAccess(BuiltInRegistries.REGISTRY.stream().toList());
tabs.forEach((key, tab) -> {
try {
tab.registerItemGroup(holderLookupProvider, key);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mixins.clientcommands.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"MixinCustomCreativeSlot",
"MixinDamageEnchantment",
"MixinEditBox",
"MixinEnchantmentDefinition",
"MixinEnchantmentHelper",
"MixinEnchantmentMenu",
"MixinEnchantmentDefinition",
"MixinEnchantmentScreen",
"MixinEntity",
"MixinEntityRendererDispatcher",
Expand Down

0 comments on commit 4a2d64b

Please sign in to comment.