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

Fix Cabinet Sorting Bug #13402 #13938

Closed
wants to merge 1 commit into from

Conversation

egunde
Copy link

@egunde egunde commented May 7, 2024

Fixed an issue where stacks of the same item in a cabinet would be rearranged when sorting alphabetically.

Added a function IsContainer to return whether or not an Item is an ItemContainer.

Also modified sorting to ignore any ItemContainer. Not sure if this is the ideal solution, but it was easier than figuring out a way to break ties between similar containers.

Edit: This is my first time contributing to something open source, so if I'm doing something wrong, feedback is appreciated.

@egunde egunde changed the base branch from dev to master May 11, 2024 22:01
@Regalis11
Copy link
Collaborator

Regalis11 commented May 15, 2024

Thank you for the contribution! We've actually got a fix pending for this in our private repo, it's just waiting to be tested internally, so I'll close the PR.

@Regalis11 Regalis11 closed this May 15, 2024
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