private void parsePacket(byte[] data, InetAddress address, int port) {
		String message = new String(data).trim();
		PacketTypes type = Packet.lookupPacket(new String(message.substring(0,2)));
		Packet packet = null;
		switch(type){
		default:
		case INVALID:
			break;
		case LOGIN:
			packet = new Packet00Login(data);
			handleLogin((Packet00Login)packet,address,port);
			break;
		case DISCONNECT:
			packet = new Packet01Disconnect(data);
			System.out.println("["+address.getHostAddress()+":"+port+"] " + ((Packet01Disconnect)packet).getUsername()+" has left the world...");
			game.level.removePlayerMP(((Packet01Disconnect)packet).getUsername());
			break;
		case MOVE:
			packet = new Packet02Move(data);
			handleMove((Packet02Move)packet);
			break;
		}
	}