mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
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…
x
Reference in New Issue
Block a user