From 88179f1c4c59dc008cf9b23eef7a53252634673a Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 27 Jan 2024 20:31:20 +0000 Subject: [PATCH] Remove return type for `generateInventoryID()` --- project/src/generators/BotGenerator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/generators/BotGenerator.ts b/project/src/generators/BotGenerator.ts index 25a0c38b..b2a9d2cf 100644 --- a/project/src/generators/BotGenerator.ts +++ b/project/src/generators/BotGenerator.ts @@ -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 = {};