public static boolean canPlayerEdit(IProtected object, int x, int y, int z, EntityPlayer entityPlayer)
{
<BUG>if (isOp(entityPlayer)) {
return true;
} else if (FeatureRegistry.enableOwnership) {
return isOwner(object, entityPlayer);</BUG>
} else {
return entityPlayer.canPlayerEdit(x, y, z, 0, entityPlayer.getHeldItem());
}
}

public static boolean canPlayerEdit(IProtected object, int x, int y, int z, EntityPlayer entityPlayer)
{
if (hasElevatedPermission(object, entityPlayer)) {
return true;
} else {
return entityPlayer.canPlayerEdit(x, y, z, 0, entityPlayer.getHeldItem());
}
}
