From fd49074ea43fa62047f24c05567de11fc610fa04 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Tue, 19 Aug 2014 21:02:37 -0500 Subject: [PATCH] Whoops - Also tested, works fine. --- integration/modules/NEIHelpers/NEICraftingHandler.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/integration/modules/NEIHelpers/NEICraftingHandler.java b/integration/modules/NEIHelpers/NEICraftingHandler.java index 82f96de40..5b2121b20 100644 --- a/integration/modules/NEIHelpers/NEICraftingHandler.java +++ b/integration/modules/NEIHelpers/NEICraftingHandler.java @@ -5,6 +5,7 @@ import java.util.List; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.inventory.Slot; import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; import appeng.client.gui.implementations.GuiCraftingTerm; import appeng.client.gui.implementations.GuiPatternTerm; import appeng.container.slot.SlotCraftingMatrix; @@ -65,11 +66,11 @@ public class NEICraftingHandler implements IOverlayHandler if ( ctSlot.getSlotIndex() == col + row * 3 ) { NBTTagList ilist = new NBTTagList(); - for ( int x = 0; x < pstack.items.length; x++ ) + for (int x = 0; x < pstack.items.length; x++) { NBTTagCompound inbt = new NBTTagCompound(); pstack.items[x].writeToNBT( inbt ); - ilist.addtag( inbt ); + ilist.appendTag( inbt ); } recipe.setTag( "#" + ctSlot.getSlotIndex(), ilist ); break;