if (CraftBookPlugin.inst().getConfiguration().advancedBlockChecks) {
CompatabilityUtil.disableInterferences(player);
BlockEvent event;
if(build)
event = new BlockPlaceEvent(block, block.getState(), block.getRelative(0, -1, 0), player.getItemInHand(), player, true);
else
event = new BlockBreakEvent(block, player);
EventUtil.ignoreEvent(event);
CraftBookPlugin.inst().getServer().getPluginManager().callEvent(event);
CompatabilityUtil.enableInterferences(player);