Fixed ancient staff broken commit
This commit is contained in:
parent
b33fb45960
commit
52d594a66b
1 changed files with 117 additions and 109 deletions
|
@ -36,7 +36,14 @@ public class ItemAncientStaff extends Item
|
|||
{
|
||||
if (par3EntityPlayer.dimension == 0)
|
||||
{
|
||||
par3EntityPlayer.addChatMessage("A gateway to the Promised Land has been buried at the origin of this world.");
|
||||
|
||||
if (par2World.getBlockId(0, 64 - 32, 0) != mod_BiomesOPlenty.promisedPortal.blockID)
|
||||
{
|
||||
|
||||
if (!par3EntityPlayer.worldObj.isRemote)
|
||||
{
|
||||
par3EntityPlayer.addChatMessage("\u00a75A gateway to the \u00a76\u00a7l\u00a7nPromised Land\u00a75 has been buried at the origin of this world.");
|
||||
}
|
||||
|
||||
int var99 = 32;
|
||||
|
||||
|
@ -145,6 +152,7 @@ public class ItemAncientStaff extends Item
|
|||
par2World.setBlock(2, 66 - var99, -2, 0);
|
||||
par2World.setBlock(-2, 66 - var99, -2, 0);
|
||||
}
|
||||
}
|
||||
|
||||
return par1ItemStack;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue