diff --git a/src/main/java/com/minelittlepony/unicopia/spell/SpellRegistry.java b/src/main/java/com/minelittlepony/unicopia/spell/SpellRegistry.java index ae51fb51..5577075b 100644 --- a/src/main/java/com/minelittlepony/unicopia/spell/SpellRegistry.java +++ b/src/main/java/com/minelittlepony/unicopia/spell/SpellRegistry.java @@ -127,7 +127,9 @@ public class SpellRegistry { } public ItemStack enchantStack(ItemStack stack, String name) { - stack.setTagCompound(new NBTTagCompound()); + if (!stack.hasTagCompound()) { + stack.setTagCompound(new NBTTagCompound()); + } stack.getTagCompound().setString("spell", name); return stack;