Fix plates not spawning on bots because of capitalisation
This commit is contained in:
parent
443d8da7f7
commit
4078d7cc89
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user