From 61cb569ffbd09de22896465b39b44fb038ecb602 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Mon, 11 May 2015 21:46:51 -0400 Subject: [PATCH] Fixing the ritual diviner. --- .../alchemicalWizardry/common/items/ItemRitualDiviner.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/items/ItemRitualDiviner.java b/src/main/java/WayofTime/alchemicalWizardry/common/items/ItemRitualDiviner.java index 89a7106c..885f656b 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/items/ItemRitualDiviner.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/items/ItemRitualDiviner.java @@ -323,8 +323,10 @@ public class ItemRitualDiviner extends EnergyItems implements IRitualDiviner NBTTagCompound tag = stack.getTagCompound(); if(tag == null || !tag.hasKey("location")) { - tag = new NBTTagCompound(); - stack.setTagCompound(tag); +// tag = new NBTTagCompound(); +// stack.setTagCompound(tag); + this.setStoredLocation(stack, new Int3(0,0,0)); + return; } NBTTagCompound locTag = (NBTTagCompound)tag.getTag("location");