CanLootEntity hook is triggered in 2 separate instances.
It can trigger when a LootContainer class of entity is looted (such as crate_normal_2 and crate_normal etc), and will handle rolling for new loot items and the scavengers buff.
The second instance is when a player loots a lootable corpse for the first time, it has the chance to generate a random epic loot item.
Realistically these shouldn't crash the server, but if you are worried you can PM me on discord and I will send you a copy that can log to file each time it fails (i will wrap them in try/catch tags), so we can attempt to debug the issue. im the new guy#0001