@SuppressWarnings("deprecation")
	@EventHandler 
	public void onTeamChatLeave(PlayerQuitEvent event){
		if(functions.isPlayerInTC(event.getPlayer())){
			if(config.getBoolean("tc.general.kick-offline-players")){
				teamchat.remove(event.getPlayer().getName());
				for(Player p : Bukkit.getServer().getOnlinePlayers()){
					if(functions.isPlayerInTC(p)){
						p.sendMessage(Tag + lang.TeamChatLeave(event.getPlayer(), "chat"));
					}
				}
			}
		}
	}