@EventHandler
	public void onEntityDeathEvent(EntityDeathEvent event)
	{
		if(event.getEntity().getKiller()==null)
			return;
		
		Player player = event.getEntity().getKiller();
		
		EntityType entityType = event.getEntityType();
				
		NationPlayer nationPlayer = NationManager.getNationPlayer(player);
		
		if(nationPlayer == null || nationPlayer.getNation() == null || nationPlayer.getNation().getName().equals("None"))
			return;
		
		int experience = Nations.getExperience(entityType.getName());
		
		if(experience!=0)
		{
			int previousLevel = nationPlayer.getLevel();
			
			nationPlayer.addExperience(experience);
		
			int newLevel = nationPlayer.getLevel();
			
			player.sendMessage(nationPlayer.getNation().getName() + ": " + ChatColor.GRAY + "Gained " + ChatColor.WHITE + experience + ChatColor.GRAY + " Exp");
		
			if(previousLevel<newLevel)
			{
				player.sendMessage(ChatColor.GRAY + "You gained a level! (Lvl " + ChatColor.WHITE + newLevel + ChatColor.GRAY + " " + nationPlayer.getNation().getName() + ")");
			}
		}
	}