@EventHandler
    public void onFireBow(EntityShootBowEvent event)
    {
    if(event.getEntityType() == EntityType.PLAYER)
    {
            Player player = (Player)event.getEntity();
            
            if(player.hasPermission("skeptermod.useitem.witherbow") || (player.isOp()))
            {
            	if(player.getInventory().getItemInHand().getEnchantmentLevel(Enchantment.ARROW_INFINITE) == 10)
            	{
            		event.setCancelled(true);
            		((WitherSkull)player.launchProjectile(WitherSkull.class)).setVelocity(event.getProjectile().getVelocity());
            }else{
            	return;
            }
    }   
    }
    }