Skip to content

#4269: Fix pardon command - #4275

Merged
Yeregorix merged 1 commit into
SpongePowered:api-17from
AlexandreArcil:fix-pardon
Aug 4, 2026
Merged

#4269: Fix pardon command#4275
Yeregorix merged 1 commit into
SpongePowered:api-17from
AlexandreArcil:fix-pardon

Conversation

@AlexandreArcil

Copy link
Copy Markdown
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.

@Yeregorix
Yeregorix merged commit 1943038 into SpongePowered:api-17 Aug 4, 2026
7 checks passed
@Yeregorix

Copy link
Copy Markdown
Member

Thank you!

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