Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing mistake when removing charm item #3891

Merged
merged 1 commit into from
Jan 9, 2022
Merged

Conversation

andremiles1
Copy link
Contributor

Charm items are stackable so item:remove() ends up removing whole stack instead of just one out of the stack.

Pull Request Prelude

Changes Proposed

Charm items are stackable. In case of the player clicking to use one of charms on the stacks, the scripts ends up removing the whole stack because of how item:remove was set up previously.

Issues addressed: Fixing a mistake where the script would remove the whole stack of charms instead of just one under usage.

Charm items are stackable so item:remove() ends up removing whole stack instead of just one out of the stack.
@EPuncker EPuncker merged commit 5b7cfb9 into otland:master Jan 9, 2022
Znote pushed a commit to Znote/forgottenserver that referenced this pull request Jan 30, 2022
Charm items are stackable so item:remove() ends up removing whole stack instead of just one out of the stack.
DSpeichert pushed a commit that referenced this pull request May 9, 2022
Charm items are stackable so item:remove() ends up removing whole stack instead of just one out of the stack.
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.

None yet

2 participants