-
Notifications
You must be signed in to change notification settings - Fork 257
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
Add Shield Information to UI #3355
Add Shield Information to UI #3355
Conversation
* Shows what the shield protects in the information tab * Shows what the shield protects in the Gear ITab when hovered over * Armor values in GearTab properly calculate shield armor
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10434356554.zip |
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10481763757.zip |
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10482389997.zip |
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10732804058.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works in my testing.
* Adds null checks for the ITab Inventory when it comes to shield mod extension
Added null checks to prevent Gear Tab from breaking for a shield that is missing the normal modExtensions. |
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10763253854.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed the exception is now handled correctly in the event the shield lacks the associated mod extension.
b7547c1
into
CombatExtended-Continued:Development
Additions
Describe new functionality added by your code, e.g.
Changes
Describe adjustments to existing features made in this merge, e.g.
Reasoning
Why did you choose to implement things this way, e.g.
Alternatives
Describe alternative implementations you have considered, e.g.
Testing
Check tests you have performed: