From 323ac3f5dadd347e0e61cde157c755d66ac775ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C9=91lex=C9=91nder?= Date: Mon, 13 Nov 2023 13:33:55 -0600 Subject: [PATCH] fix creative tab --- .../java/com/sudolev/interiors/content/registry/CITab.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sudolev/interiors/content/registry/CITab.java b/src/main/java/com/sudolev/interiors/content/registry/CITab.java index 0d3028b..08fa87a 100644 --- a/src/main/java/com/sudolev/interiors/content/registry/CITab.java +++ b/src/main/java/com/sudolev/interiors/content/registry/CITab.java @@ -18,12 +18,12 @@ public final class CITab { public static final AllCreativeModeTabs.TabInfo INTERIORS_TAB = register("base", () -> FabricItemGroup.builder() - .title(Component.translatable("itemGroup.create.base")) + .title(Component.translatable("itemGroup.interiors")) .icon(() -> CIBlocks.CHAIRS.get(DyeColor.RED).asStack()) .build()); private static AllCreativeModeTabs.TabInfo register(String name, Supplier supplier) { - ResourceLocation id = Create.asResource(name); + ResourceLocation id = new ResourceLocation(CreateInteriors.ID); ResourceKey key = ResourceKey.create(Registries.CREATIVE_MODE_TAB, id); CreativeModeTab tab = supplier.get(); Registry.register(BuiltInRegistries.CREATIVE_MODE_TAB, key, tab);