if (event.getAction() != Action.LEFT_CLICK_BLOCK && event.getAction() != Action.RIGHT_CLICK_BLOCK)
return;
Player player = event.getPlayer();
ItemStack iih = Jobs.getNms().getItemInMainHand(player);
if (iih == null || iih.getType() == Material.AIR)
<BUG>return;
int heldItemId = iih.getTypeId();</BUG>
if (heldItemId != Jobs.getGCManager().getSelectionTooldID())
return;
if (!player.hasPermission("jobs.area.select"))

if (event.getAction() != Action.LEFT_CLICK_BLOCK && event.getAction() != Action.RIGHT_CLICK_BLOCK)
return;
Player player = event.getPlayer();
ItemStack iih = Jobs.getNms().getItemInMainHand(player);
if (iih == null || iih.getType() == Material.AIR)
return;
@SuppressWarnings("deprecation")
int heldItemId = iih.getTypeId();
if (heldItemId != Jobs.getGCManager().getSelectionTooldID())
return;
if (!player.hasPermission("jobs.area.select"))
