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(); } }
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(); } }