optimizing lootspawner