diff --git a/project/src/generators/BotLootGenerator.ts b/project/src/generators/BotLootGenerator.ts index 1f01ad2a..2bb68a0b 100644 --- a/project/src/generators/BotLootGenerator.ts +++ b/project/src/generators/BotLootGenerator.ts @@ -390,7 +390,7 @@ export class BotLootGenerator { if (this.itemHasReachedSpawnLimit(itemToAddTemplate, botRole, itemSpawnLimits)) { - // Only remove if pool has some other items to pick + // Remove item from pool to prevent it being picked again delete pool[weightedItemTpl]; i--;