-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
3 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters