@EventHandler (priority = EventPriority.NORMAL)
	public void onPlayerSmelt(FurnaceExtractEvent event){
		
		boolean eventDebug = false;
		
		Player p = (Player) event.getPlayer();
		
		if(eventDebug) plugin.log.info("Encountered CraftItemEvent as Player");
		
		Material mat = event.getItemType();
		
		if(mat != null && !mat.equals(Material.AIR)){
			if(eventDebug) plugin.log.info("Material is not air.");
			if(!RPSystem.permission.has(p, plugin.config.getString("block-restriction.override-permission")) && !p.isOp()){
				if(eventDebug) plugin.log.info("Player does not have restriction override.");
				if(plugin.itemConfig.getStringList("restricted-items").contains(mat.toString())){
					if(eventDebug) plugin.log.info("Item is permission-restricted.");
					// If the item is a restricted item...
					
					if(!RPSystem.permission.has(p, plugin.itemConfig.getString(mat.toString() + ".craft-permission")) && !p.isOp()){
						if(eventDebug) plugin.log.info("Player does not have permission to smelt item.");
						p.sendMessage(ChatConstants.err("Permission to smelt " + mat.toString() + " denied."));
						p.sendMessage(ChatConstants.err("You do not have permission: " + ChatColor.DARK_RED + plugin.itemConfig.getString(mat + ".smelt-permission") + ChatColor.RED));
						p.getInventory().remove(new ItemStack(mat,event.getItemAmount()));
					}
				}
			}
		}
	}