Skip to content

Commit

Permalink
Revert "???"
Browse files Browse the repository at this point in the history
This reverts commit 1ae960b.
  • Loading branch information
aagrishankov committed Dec 25, 2020
1 parent 7263fcd commit ab0d5bd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -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());
}
Expand Down

0 comments on commit ab0d5bd

Please sign in to comment.