public void send(Packet packet) {
		if (channel == null || !channel.isConnected()) return;
		ByteBuffer data = PacketCodecs.CLIENT_SERVER.write(packet);
		try {
			System.out.println("[Client] Sending to " + channel.getRemoteAddress() + ": " + packet);
			channel.write(data);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}