Merge pull request #793 from Rothes/master

This commit is contained in:
Glare
2022-07-01 09:46:39 -05:00
committed by GitHub

View File

@@ -286,7 +286,7 @@ public final class LocalExpansionManager implements Listener {
@ApiStatus.Internal
public boolean unregister(@NotNull final PlaceholderExpansion expansion) {
if (expansions.remove(expansion.getIdentifier()) == null) {
if (expansions.remove(expansion.getIdentifier().toLowerCase(Locale.ROOT)) == null) {
return false;
}