Skip to content

Commit

Permalink
???
Browse files Browse the repository at this point in the history
  • Loading branch information
aagrishankov committed Dec 22, 2020
1 parent c15d63d commit 1ae960b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,6 @@ 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());
Expand All @@ -940,7 +939,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());
}
Expand Down

0 comments on commit 1ae960b

Please sign in to comment.