Sigils now don't do their effect when accessing blocks
Should solve #557
This commit is contained in:
parent
b3f965cbe3
commit
d868414f5b
6 changed files with 20 additions and 9 deletions
|
@ -27,8 +27,10 @@ public class ItemSigilBloodLight extends ItemSigilBase
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean onItemUseFirst(ItemStack stack, EntityPlayer player, World world, BlockPos blockPos, EnumFacing side, float hitX, float hitY, float hitZ)
|
||||
public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, BlockPos blockPos, EnumFacing side, float hitX, float hitY, float hitZ)
|
||||
{
|
||||
super.onItemUse(stack, player, world, blockPos, side, hitX, hitY, hitZ);
|
||||
|
||||
if (world.isRemote)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue