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 PartyTab Crash with thresholds #8314

Conversation

Regisle
Copy link
Member

@Regisle Regisle commented Sep 22, 2024

Party tab is currently the only thing using mod tools to parse strings directly into mod tags, its not automatically turning them into numbers, this is fine in most cases, but the modstore doesnt turn thresholds into numbers and so causes a crash

image

I made it use a lookup array, this is slower, but makes it easier to add others in future if other tags also need to be numbers and not strings

@LocalIdentity LocalIdentity added the crash Causes PoB to crash and is High Priority label Sep 22, 2024
@LocalIdentity LocalIdentity merged commit 8369b44 into PathOfBuildingCommunity:dev Sep 22, 2024
1 of 2 checks passed
@Regisle Regisle deleted the fixPartyTabCrashWithThresholds branch September 22, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Causes PoB to crash and is High Priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants