Skip to content

Conversation

@AlexMl
Copy link

@AlexMl AlexMl commented Jul 22, 2023

Using the resident getter from TownyUniverse can yield to a null object which causes the placeholder replacement to fail with a NullPointerException.

This pull request lets the method return "" in the case of any Exception and when the Resident object is null where it shouldn't.

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