Fixed not being able to start autocrafting for storage disks, fixes #741
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user