Fixed server error on raid start
This commit is contained in:
parent
6de8740dcc
commit
396f5220f7
@ -453,7 +453,7 @@ export class BotController {
|
||||
protected getPmcConversionMinMaxForLocation(requestedBotRole: string, location: string) {
|
||||
const mapSpecificConversionValues = this.pmcConfig.convertIntoPmcChance[location?.toLowerCase()];
|
||||
if (!mapSpecificConversionValues) {
|
||||
return mapSpecificConversionValues.default;
|
||||
return this.pmcConfig.convertIntoPmcChance.default;
|
||||
}
|
||||
|
||||
return mapSpecificConversionValues[requestedBotRole?.toLowerCase()];
|
||||
|
Loading…
Reference in New Issue
Block a user