Beispiel #1
0
        internal static void OnNPCLoot(NPC n)
        {
            var bh = n.P_BHandler as NpcBHandler;

            if (bh == null || bh.PreDestroyed())
            {
                n.RealNPCLoot();

                if (bh != null)
                    bh.OnDestroyed();
            }
        }