This PR tweaks the logic of the inventory entity condition type by using labels and breaking the labelled conditional statement for checking items in a power in certain cases, such as:
the entity does not have a power component
the power doesn't exist
the power is not an instance of InventoryPower
instead of completely replacing the results of the comparison check.
This PR tweaks the logic of the
inventory
entity condition type by using labels and breaking the labelled conditional statement for checking items in a power in certain cases, such as:InventoryPower
instead of completely replacing the results of the comparison check.