Fixing the ritual diviner.
This commit is contained in:
parent
4470eb3178
commit
61cb569ffb
|
@ -323,8 +323,10 @@ public class ItemRitualDiviner extends EnergyItems implements IRitualDiviner
|
||||||
NBTTagCompound tag = stack.getTagCompound();
|
NBTTagCompound tag = stack.getTagCompound();
|
||||||
if(tag == null || !tag.hasKey("location"))
|
if(tag == null || !tag.hasKey("location"))
|
||||||
{
|
{
|
||||||
tag = new NBTTagCompound();
|
// tag = new NBTTagCompound();
|
||||||
stack.setTagCompound(tag);
|
// stack.setTagCompound(tag);
|
||||||
|
this.setStoredLocation(stack, new Int3(0,0,0));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
NBTTagCompound locTag = (NBTTagCompound)tag.getTag("location");
|
NBTTagCompound locTag = (NBTTagCompound)tag.getTag("location");
|
||||||
|
|
Loading…
Reference in a new issue