diff --git a/forge/patches/minecraft/net/minecraft/src/ContainerCreative.java.patch b/forge/patches/minecraft/net/minecraft/src/ContainerCreative.java.patch index 8a5cf3b65..d2161fcbf 100644 --- a/forge/patches/minecraft/net/minecraft/src/ContainerCreative.java.patch +++ b/forge/patches/minecraft/net/minecraft/src/ContainerCreative.java.patch @@ -19,7 +19,7 @@ + for (Item item : Item.itemsList) { - if (Item.itemsList[var10] != null && Item.itemsList[var10].shiftedIndex != Item.potion.shiftedIndex && Item.itemsList[var10].shiftedIndex != Item.monsterPlacer.shiftedIndex) -+ if (item != null && x++ < 256) ++ if (item != null && x++ >= 256) { - this.itemList.add(new ItemStack(Item.itemsList[var10])); + item.addCreativeItems((ArrayList)itemList);