mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 18:44:42 +00:00
Fix stacksize overflow when overlaying recipe (#167)
This commit is contained in:
1 parent
bd0e7fabca
commit
1efa92adad
4 files changed
+18
-10
No files matched your search
@@ -180,8 +180,7 @@ public class TileFluidAutoFiller extends AENetworkInvTile
|
||||
protected NBTBase createItemTag(final ItemStack i) {
|
||||
final NBTTagCompound c = new NBTTagCompound();
|
||||
if (i != null) {
|
||||
i.writeToNBT(c);
|
||||
c.setInteger("Count", i.stackSize);
|
||||
Util.writeItemStackToNBT(i, c);
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user