Fixed #686 - "Disk Drive and Storage Disk issue in server environment."

This commit is contained in:
Raoul Van den Berge
2016-11-28 18:45:04 +01:00
parent 77ba4f7227
commit 23fc4a2900

View File

@@ -235,7 +235,7 @@ public abstract class ItemStorageNBT implements IItemStorage {
NBTTagCompound otherTag = new NBTTagCompound(); NBTTagCompound otherTag = new NBTTagCompound();
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 stack (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)).
return otherTag; return otherTag;
} }