mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 02:30:43 -05:00
Change methods to public (!373)
Change generateBotsFirstTime and returnSingleBotFromCache methods to public. The generate method that call these methods is overridden in Fika. Co-authored-by: trippyone <137233897+trippyone@users.noreply.github.com> Reviewed-on: SPT/Server#373 Co-authored-by: trippy <trippy@noreply.dev.sp-tarkov.com> Co-committed-by: trippy <trippy@noreply.dev.sp-tarkov.com>
This commit is contained in:
parent
9e1c3304f0
commit
6f3a674fd8
@ -204,7 +204,7 @@ export class BotController
|
||||
* @param sessionId Session id
|
||||
* @returns
|
||||
*/
|
||||
protected async generateBotsFirstTime(
|
||||
public async generateBotsFirstTime(
|
||||
request: IGenerateBotsRequestData,
|
||||
pmcProfile: IPmcData,
|
||||
sessionId: string,
|
||||
@ -370,7 +370,7 @@ export class BotController
|
||||
* @param request Bot generation request object
|
||||
* @returns Single IBotBase object
|
||||
*/
|
||||
protected async returnSingleBotFromCache(
|
||||
public async returnSingleBotFromCache(
|
||||
sessionId: string,
|
||||
request: IGenerateBotsRequestData,
|
||||
): Promise<IBotBase[]>
|
||||
|
Loading…
x
Reference in New Issue
Block a user