From caab4dcbef996527b97f28ea6c1a8c7cfdccd53e Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Tue, 27 Feb 2018 18:17:30 -0800 Subject: [PATCH] Fix rituals crashing when deserializing the owner --- .../java/WayofTime/bloodmagic/tile/TileMasterRitualStone.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/tile/TileMasterRitualStone.java b/src/main/java/WayofTime/bloodmagic/tile/TileMasterRitualStone.java index 9bce3ea8..4e140dea 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/TileMasterRitualStone.java +++ b/src/main/java/WayofTime/bloodmagic/tile/TileMasterRitualStone.java @@ -98,7 +98,7 @@ public class TileMasterRitualStone extends TileTicking implements IMasterRitualS public NBTTagCompound serialize(NBTTagCompound tag) { String ritualId = RitualRegistry.getIdForRitual(getCurrentRitual()); if (owner != null) - tag.setUniqueId(Constants.NBT.OWNER_UUID, owner); + tag.setUniqueId("owner", owner); tag.setString(Constants.NBT.CURRENT_RITUAL, Strings.isNullOrEmpty(ritualId) ? "" : ritualId); if (currentRitual != null) { NBTTagCompound ritualTag = new NBTTagCompound();