Skip moving item if item cannot be found.

This commit is contained in:
Kaeno 2024-07-09 09:52:58 +01:00
parent e662020f9a
commit bb50998e04

View File

@ -1073,6 +1073,7 @@ export class InventoryHelper
if (!itemToMove)
{
this.logger.error(this.localisationService.getText("inventory-unable_to_find_item_to_move", itemId));
continue;
}
// Only adjust the values for parent item, not children (their values are already correctly tied to parent)