diff --git a/src/main/scala/extracells/tileentity/TileEntityFluidInterface.java b/src/main/scala/extracells/tileentity/TileEntityFluidInterface.java index 2f19964..dd78332 100644 --- a/src/main/scala/extracells/tileentity/TileEntityFluidInterface.java +++ b/src/main/scala/extracells/tileentity/TileEntityFluidInterface.java @@ -931,6 +931,7 @@ public NBTTagCompound writeFilter(NBTTagCompound tag) { private NBTTagCompound writeOutputToNBT(NBTTagCompound tag) { int i = 0; + i = 0; for (IAEStack s : this.addToExport) { if (s != null) { tag.setBoolean("add-" + i + "-isItem", s.isItem()); @@ -939,7 +940,7 @@ private NBTTagCompound writeOutputToNBT(NBTTagCompound tag) { ((IAEItemStack) s).getItemStack().writeToNBT(data); } else { ((IAEFluidStack) s).getFluidStack().writeToNBT(data); - } + }; tag.setTag("add-" + i, data); tag.setLong("add-" + i + "-amount", s.getStackSize()); }