@Deprecated
	public void onEvent(bluefrost.serializable.objects.v1.KeyObject event){
		try{
			synchronized(ClientManager.map.inverse().get(event.getSocketChannel())){
				Client c = ClientManager.map.inverse().get(event.getSocketChannel());
				if(c.isLoggedIn() == true){
					c.setKey(Crypto.randomAESKey());
					Main.getNIOS().send(event.getSocketChannel(), new bluefrost.serializable.objects.v1.KeyObject(c.getKey()).encrypt(event.k).toByteArray());
				}
			}
		}catch(Exception e){e.printStackTrace();}
	}