Fixed #733, server side crash when opening Alchemical Tome
This commit is contained in:
parent
83f9a5a999
commit
17833c0eaa
|
@ -33,7 +33,9 @@ public class ItemAlchemicalTome extends ItemEE implements IOwnable
|
|||
{
|
||||
// Set the owner
|
||||
ItemHelper.setOwner(itemStack, entityPlayer);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
entityPlayer.openGui(EquivalentExchange3.instance, GUIs.ALCHEMICAL_TOME.ordinal(), entityPlayer.worldObj, (int) entityPlayer.posX, (int) entityPlayer.posY, (int) entityPlayer.posZ);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue