From dca08ea2426e7ef4cf98f5fb5c25481c1856b3a2 Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Thu, 29 Aug 2024 22:55:00 +0900 Subject: [PATCH] Fix build failure, hopefully for the last time --- .../impl/client/itemgroup/FabricCreativeGuiComponents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric-item-group-api-v1/src/client/java/net/fabricmc/fabric/impl/client/itemgroup/FabricCreativeGuiComponents.java b/fabric-item-group-api-v1/src/client/java/net/fabricmc/fabric/impl/client/itemgroup/FabricCreativeGuiComponents.java index 63903e3a00..9c63eb652d 100644 --- a/fabric-item-group-api-v1/src/client/java/net/fabricmc/fabric/impl/client/itemgroup/FabricCreativeGuiComponents.java +++ b/fabric-item-group-api-v1/src/client/java/net/fabricmc/fabric/impl/client/itemgroup/FabricCreativeGuiComponents.java @@ -38,7 +38,7 @@ public class FabricCreativeGuiComponents { private static final Identifier BUTTON_TEX = Identifier.of("fabric", "textures/gui/creative_buttons.png"); private static final double TABS_PER_PAGE = FabricItemGroupImpl.TABS_PER_PAGE; public static final Set COMMON_GROUPS = Set.of(ItemGroups.SEARCH, ItemGroups.INVENTORY, ItemGroups.HOTBAR).stream() - .map(Registries.ITEM_GROUP::getOrThrow) + .map(Registries.ITEM_GROUP::getValueOrThrow) .collect(Collectors.toSet()); public static int getPageCount() {