Skip to content

Add try-catch for armor ability stat updates#22

Open
jamesblack wants to merge 2 commits into
Xandu93:masterfrom
jamesblack:patch-1
Open

Add try-catch for armor ability stat updates#22
jamesblack wants to merge 2 commits into
Xandu93:masterfrom
jamesblack:patch-1

Conversation

@jamesblack
Copy link
Copy Markdown

Refactor armor ability stat handling to include try-catch for safety.

This should prevent issues trying to fetch stats that a player doesn't have. You can validate the problem by picking commoner as a class (with combat overhaul installed) and taking off any piece of armor, the game will crash with too many exceptions.

Refactor armor ability stat handling to include try-catch for safety.
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