diff --git a/project/src/controllers/InventoryController.ts b/project/src/controllers/InventoryController.ts index b6281438..d0034b27 100644 --- a/project/src/controllers/InventoryController.ts +++ b/project/src/controllers/InventoryController.ts @@ -526,12 +526,10 @@ export class InventoryController return this.eventOutputHolder.getOutput(sessionID); } - else - { - this.logger.warning( - this.localisationService.getText("inventory-unable_to_toggle_item_not_found", body.item), - ); - } + + this.logger.warning( + this.localisationService.getText("inventory-unable_to_toggle_item_not_found", body.item), + ); return { warnings: [], profileChanges: {} }; }