@EventHandler
	public void onPlayerDeath(final PlayerDeathEvent event)
	{
		final Player player = event.getEntity();
		/*final removeEquipment removeEquipment = new removeEquipment();*/
		
		StringBuilder flagPath = new StringBuilder(player.getName());
		flagPath.append(".flag");	
		final FileConfiguration pFile = pCops.getPlayerFile().getFile();
		
		String flag = pFile.getString(flagPath.toString());
		
		if (flag == null)
		{
				
		}
		else if(flag.equalsIgnoreCase("cop"))
		{
			pFile.set(flagPath.toString(), null);
			player.sendMessage(ChatColor.DARK_RED + "You have died while being marked playing Cops and Robbers.");
			event.setKeepLevel(true);
			/*removeEquipment.onDeath(event, flag);*/
		}
		else if(flag.equalsIgnoreCase("robber"))
		{
			pFile.set(flagPath.toString(), null);
			player.sendMessage(ChatColor.DARK_RED + "You have died while being marked playing Cops and Robbers.");
			event.setKeepLevel(true);
			/*removeEquipment.onDeath(event, flag);*/
		}
	}