Skip to content

#4269: Fix pardon command#4275

Open
AlexandreArcil wants to merge 1 commit intoSpongePowered:api-17from
AlexandreArcil:fix-pardon
Open

#4269: Fix pardon command#4275
AlexandreArcil wants to merge 1 commit intoSpongePowered:api-17from
AlexandreArcil:fix-pardon

Conversation

@AlexandreArcil
Copy link
Contributor

Issue #4269: Unbanning a player does not work

/pardon command wasn't working due to a silent ClassCastException: the key element type of the list SpongeUserBanList is NameAndId but a GameProfile was given instead.

The fix just change the element type to be removed by a NameAndId.

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