Remove redundant else from toggleItem()
This commit is contained in:
parent
5e94e3fef0
commit
a38cf7fa69
@ -526,12 +526,10 @@ export class InventoryController
|
|||||||
|
|
||||||
return this.eventOutputHolder.getOutput(sessionID);
|
return this.eventOutputHolder.getOutput(sessionID);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
this.logger.warning(
|
||||||
this.logger.warning(
|
this.localisationService.getText("inventory-unable_to_toggle_item_not_found", body.item),
|
||||||
this.localisationService.getText("inventory-unable_to_toggle_item_not_found", body.item),
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return { warnings: [], profileChanges: {} };
|
return { warnings: [], profileChanges: {} };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user