Fixed empty string storage in existing Alchemy Arrays.
This commit is contained in:
parent
ad546380a3
commit
11e56158d3
5 changed files with 16 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue