Remove return type for generateInventoryID()
This commit is contained in:
parent
8cf9cb8e15
commit
88179f1c4c
@ -218,7 +218,7 @@ export class BotGenerator
|
||||
bot = this.generateId(bot);
|
||||
|
||||
// generate new inventory ID
|
||||
bot = this.generateInventoryID(bot);
|
||||
this.generateInventoryID(bot);
|
||||
|
||||
// Set role back to originally requested now its been generated
|
||||
if (botGenerationDetails.eventRole)
|
||||
@ -452,7 +452,7 @@ export class BotGenerator
|
||||
return bot;
|
||||
}
|
||||
|
||||
protected generateInventoryID(profile: IBotBase): IBotBase
|
||||
protected generateInventoryID(profile: IBotBase): void
|
||||
{
|
||||
const defaultInventory = "55d7217a4bdc2d86028b456d";
|
||||
const itemsByParentHash: Record<string, Item[]> = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user