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 crash when hovering over life mastery mod. #6252

Merged

Conversation

Paliak
Copy link
Contributor

@Paliak Paliak commented May 31, 2023

Fixes #6221 .

Description of the problem being solved:

With no life masteries allocated allocatedMasteryTypes["Life Mastery"] is nil causing the value of the Multiplier:AllocatedLifeMastery mod to be nil which causes a crash when taking the 10% more Maximum Life if you have at least 6 Life Masteries allocated into account for calculations.

Link to a build that showcases this PR:

https://pobb.in/1lP4zWwLfT-l

With no life masteries allocated allocatedMasteryTypes["Life Mastery"]
is nil causing the value of the "Multiplier:AllocatedLifeMastery" mod to
be nil which causes crash when taking the "10% more Maximum Life if you have at least 6 Life Masteries allocated" into account for calculations.
@QuickStick123 QuickStick123 added the crash Causes PoB to crash and is High Priority label Aug 2, 2023
@LocalIdentity LocalIdentity merged commit fc97b7c into PathOfBuildingCommunity:dev Aug 13, 2023
@Paliak Paliak deleted the fixLifeMasteryModCrash branch January 20, 2024 15:26
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.

Crash when hovering 6 allocated masteries
3 participants