private static void Game_OnGameSendPacket(GamePacketEventArgs args) { if (!Enabled || args.PacketData[0] != Packet.C2S.Cast.Header || CanCast(new GamePacket(args.PacketData))) { return; } var bit = args.PacketData[5]; if (Debug && !NonSummonerByte.Contains(bit)) { Utility.DebugMessage("Blocked: " + BitConverter.ToString(new[] { bit })); } args.Process = false; }