public static bool PreNPCLoot(NPC npc) { foreach (var hook in HookPreNPCLoot) { if (!hook(npc)) { blockLoot.Clear(); return false; } } if (npc.modNPC != null && !npc.modNPC.PreNPCLoot()) { blockLoot.Clear(); return false; } return true; }