From 4078d7cc8959afa1649fb44a8f607c73c180aa3e Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 9 Jan 2024 20:16:49 +0000 Subject: [PATCH] Fix plates not spawning on bots because of capitalisation --- project/src/generators/BotEquipmentModGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/generators/BotEquipmentModGenerator.ts b/project/src/generators/BotEquipmentModGenerator.ts index 74751d7c..6cfacaa8 100644 --- a/project/src/generators/BotEquipmentModGenerator.ts +++ b/project/src/generators/BotEquipmentModGenerator.ts @@ -95,7 +95,7 @@ export class BotEquipmentModGenerator continue; } - if (!(this.shouldModBeSpawned(itemSlot, modSlot, settings.spawnChances.equipmentMods) || forceSpawn)) + if (!(this.shouldModBeSpawned(itemSlot, modSlot.toLowerCase(), settings.spawnChances.equipmentMods) || forceSpawn)) { continue; }