From c269824921941c897c3bd05b101d43ad6f65b811 Mon Sep 17 00:00:00 2001 From: Parker Hawke Date: Sat, 19 Mar 2022 09:59:56 +1100 Subject: [PATCH] #1034: Fix exception on init of CraftCreativeCategory --- .../bukkit/craftbukkit/inventory/CraftCreativeCategory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftCreativeCategory.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftCreativeCategory.java index 9d32bc4da..5fc078b2c 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftCreativeCategory.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftCreativeCategory.java @@ -12,8 +12,7 @@ public final class CraftCreativeCategory { .put(CreativeModeTab.TAB_DECORATIONS, CreativeCategory.DECORATIONS) .put(CreativeModeTab.TAB_REDSTONE, CreativeCategory.REDSTONE) .put(CreativeModeTab.TAB_TRANSPORTATION, CreativeCategory.TRANSPORTATION) - .put(CreativeModeTab.TAB_MISC, CreativeCategory.MISC) // Interchangeable in NMS - .put(CreativeModeTab.TAB_MATERIALS, CreativeCategory.MISC) // Interchangeable in NMS + .put(CreativeModeTab.TAB_MISC, CreativeCategory.MISC) // Interchangeable with TAB_MATERIALS, same instance .put(CreativeModeTab.TAB_FOOD, CreativeCategory.FOOD) .put(CreativeModeTab.TAB_TOOLS, CreativeCategory.TOOLS) .put(CreativeModeTab.TAB_COMBAT, CreativeCategory.COMBAT)