Fixed not being able to start autocrafting for storage disks, fixes #741

This commit is contained in:
Raoul Van den Berge
2016-12-14 18:56:07 +01:00
parent 70ab0f204d
commit 452fca6b09
3 changed files with 3 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
### 1.3.5 ### 1.3.5
- Fixed Controller not using energy (raoulvdberge) - Fixed Controller not using energy (raoulvdberge)
- Fixed dupe bug when inserting bucket in Fluid Grid (raoulvdberge) - Fixed dupe bug when inserting bucket in Fluid Grid (raoulvdberge)
- Fixed not being able to start autocrafting for storage disks (raoulvdberge)
- Added regulator mode to Exporter (InusualZ) - Added regulator mode to Exporter (InusualZ)
### 1.3.4 ### 1.3.4

View File

@@ -224,6 +224,7 @@ public abstract class StorageFluidNBT implements IStorage<FluidStack> {
otherTag.setInteger(NBT_STORED, getStoredFromNBT(tag)); otherTag.setInteger(NBT_STORED, getStoredFromNBT(tag));
otherTag.setTag(NBT_FLUIDS, new NBTTagList()); // To circumvent not being able to insert disks in Disk Drives (see FluidStorageNBT#isValid(ItemStack)). otherTag.setTag(NBT_FLUIDS, new NBTTagList()); // To circumvent not being able to insert disks in Disk Drives (see FluidStorageNBT#isValid(ItemStack)).
otherTag.setInteger(NBT_PROTOCOL, PROTOCOL);
return otherTag; return otherTag;
} }

View File

@@ -260,6 +260,7 @@ public abstract class StorageItemNBT implements IStorage<ItemStack> {
otherTag.setInteger(NBT_STORED, getStoredFromNBT(tag)); otherTag.setInteger(NBT_STORED, getStoredFromNBT(tag));
otherTag.setTag(NBT_ITEMS, new NBTTagList()); // To circumvent not being able to insert disks in Disk Drives (see ItemStorageNBT#isValid(ItemStack)). otherTag.setTag(NBT_ITEMS, new NBTTagList()); // To circumvent not being able to insert disks in Disk Drives (see ItemStorageNBT#isValid(ItemStack)).
otherTag.setInteger(NBT_PROTOCOL, PROTOCOL);
return otherTag; return otherTag;
} }