Fixed empty string storage in existing Alchemy Arrays.

This commit is contained in:
WayofTime 2016-06-28 07:20:28 -04:00
parent ad546380a3
commit 11e56158d3
5 changed files with 16 additions and 10 deletions

View file

@ -43,7 +43,7 @@ public class TileAlchemyArray extends TileInventory implements ITickable
super.writeToNBT(tagCompound);
tagCompound.setBoolean("isActive", isActive);
tagCompound.setInteger("activeCounter", activeCounter);
tagCompound.setString("key", key);
tagCompound.setString("key", key == "" ? "empty" : key);
NBTTagCompound arrayTag = new NBTTagCompound();
if (arrayEffect != null)