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

This commit is contained in:
Raoul Van den Berge
2016-11-28 18:44:29 +01:00
parent ef2efac2c0
commit 77ba4f7227
2 changed files with 2 additions and 0 deletions

View File

@@ -235,6 +235,7 @@ public abstract class ItemStorageNBT implements IItemStorage {
NBTTagCompound otherTag = new NBTTagCompound();
otherTag.setInteger(NBT_STORED, getStoredFromNBT(tag));
otherTag.setTag(NBT_ITEMS, new NBTTagList()); // To circumvent not being able to insert stack (see ItemStorageNBT#isValid(ItemStack)).
return otherTag;
}