Fixed not being able to start autocrafting for storage disks, fixes #741
This commit is contained in:
@@ -224,6 +224,7 @@ public abstract class StorageFluidNBT implements IStorage<FluidStack> {
|
||||
|
||||
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.setInteger(NBT_PROTOCOL, PROTOCOL);
|
||||
|
||||
return otherTag;
|
||||
}
|
||||
|
||||
@@ -260,6 +260,7 @@ public abstract class StorageItemNBT implements IStorage<ItemStack> {
|
||||
|
||||
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.setInteger(NBT_PROTOCOL, PROTOCOL);
|
||||
|
||||
return otherTag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user