Skip to content

Don't overwrite lockpick/probe stacks - #138

Open
Qlonever wants to merge 1 commit into
TES3MP:0.8.1from
Qlonever:lost-lockpicks
Open

Don't overwrite lockpick/probe stacks#138
Qlonever wants to merge 1 commit into
TES3MP:0.8.1from
Qlonever:lost-lockpicks

Conversation

@Qlonever

Copy link
Copy Markdown

I and several others in the TES3MP Discord server have encountered a bug that causes players to lose entire stacks of lockpicks/probes.

I've traced the issue to this function. It doesn't account for the unique stacking behavior of lockpicks/probes, so it overwrites entire stacks of them with the single equipped instance whenever its durability changes. This PR fixes the problem by separating the equipped item from its stack when needed.

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