public void HandlePluginMessage(MinecraftClient client, IPacket packet) { var myPacket = (CBPluginMessage)packet; client.RaisePluginMessage(myPacket.Channel, myPacket.Data); }