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 for NPE when using removeTokenFacing() #3706

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

Phergus
Copy link
Contributor

@Phergus Phergus commented Oct 7, 2022

Identify the Bug or Feature request

Fixes #3700

Description of the Change

Rather than try to pass a null through the DTO process, added new update type for removeFacing that doesn't take a parameter.

Possible Drawbacks

None expected.

Documentation Notes

n/a

Release Notes

  • Using removeTokenFacing() on a token with no facing would throw an NPE. Fixed.

This change is Reviewable

Rather than try to pass a null through the DTO process, added new update type for removeFacing that doesn't take a parameter.
@Phergus Phergus requested a review from cwisniew October 7, 2022 20:00
@Phergus Phergus added this to In progress in MapTool 1.12 via automation Oct 7, 2022
MapTool 1.12 automation moved this from In progress to Reviewer approved Oct 7, 2022
@Phergus Phergus merged commit a4dc4ab into RPTools:develop Oct 7, 2022
@Phergus Phergus moved this from Reviewer approved to Done in MapTool 1.12 Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

[Bug]: removeTokenFacing() causes NPE
2 participants