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

Handle null values in DataCenter's DispelTarget property more carefully #439

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

LTS-FFXIV
Copy link
Member

Added null-coalescing operators to the DispelTarget property in the DataCenter class to handle potential null values for DataCenter.PartyMembers and DataCenter.FriendlyNPCMembers. This ensures the code uses an empty enumerable if either collection is null, yet another attempt to prevent null reference exceptions.

Added null-coalescing operators to the DispelTarget property in the DataCenter class to handle potential null values for DataCenter.PartyMembers and DataCenter.FriendlyNPCMembers. This ensures the code uses an empty enumerable if either collection is null, yet another attempt to prevent null reference exceptions.
@LTS-FFXIV LTS-FFXIV merged commit 7e0ffab into main Oct 25, 2024
@LTS-FFXIV LTS-FFXIV deleted the even-more-redtext branch November 13, 2024 01:17
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