Skip to content

Commit 4a2d64b

Browse files
committed
Fix /ccreativetab
1 parent 9574d9d commit 4a2d64b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/net/earthcomputer/clientcommands/command/CreativeTabCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static void registerItemGroups() {
7171
// FIXME: this is a hack because creative tabs must be registered on startup but item stacks normally can't be
7272
// parsed until the world is loaded. Use the default registries for now, as most things in item stacks aren't
7373
// in dynamic registries yet. Fix this once creative tabs can be registered dynamically.
74-
var holderLookupProvider = new RegistryAccess.ImmutableRegistryAccess(BuiltInRegistries.REGISTRY.stream().toList()).freeze();
74+
var holderLookupProvider = new RegistryAccess.ImmutableRegistryAccess(BuiltInRegistries.REGISTRY.stream().toList());
7575
tabs.forEach((key, tab) -> {
7676
try {
7777
tab.registerItemGroup(holderLookupProvider, key);

src/main/resources/mixins.clientcommands.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"MixinCustomCreativeSlot",
2828
"MixinDamageEnchantment",
2929
"MixinEditBox",
30+
"MixinEnchantmentDefinition",
3031
"MixinEnchantmentHelper",
3132
"MixinEnchantmentMenu",
32-
"MixinEnchantmentDefinition",
3333
"MixinEnchantmentScreen",
3434
"MixinEntity",
3535
"MixinEntityRendererDispatcher",

0 commit comments

Comments
 (0)