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 IsAttuned method #774

Merged
merged 1 commit into from Apr 29, 2018
Merged

Fix IsAttuned method #774

merged 1 commit into from Apr 29, 2018

Conversation

ghost
Copy link

@ghost ghost commented Apr 29, 2018

As caught by Derrick, a null check was missing vs the Attuned property itself. However, the fist null check should remain, as there is a possibility that GetInventoryItem() might return a null, which would need to be handled in a manner to avoid a null pointer exception.

@gmriggs gmriggs merged commit 9f4e6db into ACEmulator:master Apr 29, 2018
@ghost ghost deleted the FixIsAttuned branch May 4, 2018 07:19
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.

None yet

2 participants