Skip to content

Fixed bug where mods cannot use API to change Fashion Sense bodies#58

Open
GoddessVirtue wants to merge 2 commits into
Floogen:developmentfrom
GoddessVirtue:BodyAPI
Open

Fixed bug where mods cannot use API to change Fashion Sense bodies#58
GoddessVirtue wants to merge 2 commits into
Floogen:developmentfrom
GoddessVirtue:BodyAPI

Conversation

@GoddessVirtue

Copy link
Copy Markdown

Here is my suggested fix for issue #57. GetAppearanceModDataKey() can now return the ModDataKeys.CUSTOM_BODY_ID key for the IApi.Type.Player type, which should fix the bug where mods couldn't use the API to change Fashion Sense bodies.

Also, I added an IApi.Type.Body type as an alias to the Player type, because it's more consistent and easier for other devs using the API to understand. If you'd prefer to keep just the Player type, Floogen, I completely understand. I'm not great with Git but hopefully separating the two commits makes that easier for you to do.

…i.cs so other mods can change bodies using API
…e future renaming for clearer and more consistent API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant