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

Update ECommons submodule and add null checks to prevent bricking due to statuses without names #446

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

LTS-FFXIV
Copy link
Member

Update ECommons submodule and add null checks to prevent bricking due to statuses without names

Updated the ECommons submodule commit to 71ee09f7cc2230a73503b945422760da1368405c. Added System.Linq to using directives in DataCenter.cs. Modified DispelTarget property in DataCenter class to include null checks for statuses in StatusList before calling StatusHelper methods (CanDispel and IsDangerous). Added null checks in IsPriority, IsDangerous, and CanDispel methods in StatusHelper.cs to ensure the status parameter is not null.

… to statuses without names

Updated the ECommons submodule commit to `71ee09f7cc2230a73503b945422760da1368405c`.
Added `System.Linq` to `using` directives in `DataCenter.cs`.
Modified `DispelTarget` property in `DataCenter` class to include null checks for statuses in `StatusList` before calling `StatusHelper` methods (`CanDispel` and `IsDangerous`).
Added null checks in `IsPriority`, `IsDangerous`, and `CanDispel` methods in `StatusHelper.cs` to ensure the `status` parameter is not null.
@LTS-FFXIV LTS-FFXIV merged commit c530fe4 into main Nov 17, 2024
@LTS-FFXIV LTS-FFXIV deleted the unnamed-status-fix branch November 28, 2024 22:30
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