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

Fix MidRaidQuestChangePatch null check and improve logging #139

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

OkaMoez
Copy link
Contributor

@OkaMoez OkaMoez commented Jan 29, 2024

Recently added MidRaidQuestChangePatch has a inverted null check on gameWorld.

This change fixes that check, converts the second null check into a guard clause, and slightly improves logging in the patch.

@OkaMoez OkaMoez changed the title Fix null check and improve logging Fix MidRaidQuestChangePatch null check and improve logging Jan 29, 2024
Logger.LogError($"[MidRaidQuestChangePatch] questController instance was null");

return;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what's going on with the formatting here. It looks normal inside Visual Studio for me locally.

@paulov-t paulov-t merged commit f87a5bc into stayintarkov:master Feb 5, 2024
1 check passed
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.

2 participants