Remove redundant else from toggleItem()

This commit is contained in:
Dev 2024-02-01 13:58:06 +00:00
parent 5e94e3fef0
commit a38cf7fa69

View File

@ -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: {} };
}