mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-26 02:48:14 +01:00
Merge pull request #793 from Rothes/master
This commit is contained in:
commit
5a4a8c2e7e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user