Fixed #686 - "Disk Drive and Storage Disk issue in server environment."
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user