Fixed homeLocation write

This commit is contained in:
aidancbrady committed 2016-11-07 20:37:27 -05:00
1 parent ccff5dcefe
commit 9f4c73ee94
1 file changed
+4 -1
@@ -437,7 +437,10 @@ public class EntityRobit extends EntityCreature implements IInventory, ISustaine
nbtTags.setBoolean("dropPickup", getDropPickup());
homeLocation.write(nbtTags);
if(homeLocation != null)
{
homeLocation.write(nbtTags);
}
NBTTagList tagList = new NBTTagList();