From 79f37cfd42c53af7969fba388b711955e389b76d Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Sun, 27 May 2018 15:03:29 +1000 Subject: + Added ability to disassemble Large eggs into Stem Cells. % Updated Large egg tooltips. % Made the Giant Chickens occasionally try and fly around. $ Small fix to writeItemsToGtCraftingComponents() in NBTUtils.java. --- src/Java/gtPlusPlus/core/util/minecraft/NBTUtils.java | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/Java/gtPlusPlus/core/util') diff --git a/src/Java/gtPlusPlus/core/util/minecraft/NBTUtils.java b/src/Java/gtPlusPlus/core/util/minecraft/NBTUtils.java index 524e7ab7f3..66abbded15 100644 --- a/src/Java/gtPlusPlus/core/util/minecraft/NBTUtils.java +++ b/src/Java/gtPlusPlus/core/util/minecraft/NBTUtils.java @@ -112,8 +112,16 @@ public class NBTUtils { return itemstack; } - public static ItemStack writeItemsToGtCraftingComponents(ItemStack rStack, ItemStack[] stored, boolean copyTags) { - + public static ItemStack writeItemsToGtCraftingComponents(ItemStack rStack, ItemStack[] input, boolean copyTags) { + try { + ItemStack stored[] = new ItemStack[9]; + if (input.length != 9) { + for (int e=0;e