diff --git a/project/src/controllers/BotController.ts b/project/src/controllers/BotController.ts index 87e0ebee..cb2df740 100644 --- a/project/src/controllers/BotController.ts +++ b/project/src/controllers/BotController.ts @@ -450,10 +450,10 @@ export class BotController { return [desiredBot]; } - protected getPmcConversionMinMaxForLocation(requestedBotRole: string, location: string) { + protected getPmcConversionMinMaxForLocation(requestedBotRole: string, location: string): MinMax { const mapSpecificConversionValues = this.pmcConfig.convertIntoPmcChance[location?.toLowerCase()]; if (!mapSpecificConversionValues) { - return this.pmcConfig.convertIntoPmcChance.default; + return this.pmcConfig.convertIntoPmcChance.default[requestedBotRole]; } return mapSpecificConversionValues[requestedBotRole?.toLowerCase()];