Skip to content

Fix BotEquipmentFilterService::AdjustWeighting #755

@DrakiaXYZ

Description

@DrakiaXYZ

BotEquipmentFilterService::AdjustWeighting should not apply edit adjustments if the current weight is 0. This is to avoid SPT re-adding items that a mod may have adjusted down to 0 weight.

The logging should also go, there is valid reasons for an edit to be skipped (A mod changing the value to remove it from the loot pool, but SPT shipping with dynamic weights for that item), so it's not a case we need to monitor if an edit is skipped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions