Skip to content

[Bug] Stepheight is being set instead of being added/removed from #18

@Speiger

Description

@Speiger

Honestly stepheight should be a "IAttribute"
But yeah the way stepup is implemented it breaks basically anything that has stepassist implemented.

So what you should change is use a += & -= instead of a =
for setting stepheight and use a boolean to keep track of if you added it or not.
Because if a mod comes and uses += & -= and yours is overriding it that can cause that stepassist breaks and you cant even go up stairs anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions