Skip to content

Commit 5a4a8c2

Browse files
authored
Merge pull request PlaceholderAPI#793 from Rothes/master
2 parents 0b06847 + bfc30a8 commit 5a4a8c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/clip/placeholderapi/expansion/manager/LocalExpansionManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public boolean register(@NotNull final PlaceholderExpansion expansion) {
286286

287287
@ApiStatus.Internal
288288
public boolean unregister(@NotNull final PlaceholderExpansion expansion) {
289-
if (expansions.remove(expansion.getIdentifier()) == null) {
289+
if (expansions.remove(expansion.getIdentifier().toLowerCase(Locale.ROOT)) == null) {
290290
return false;
291291
}
292292

0 commit comments

Comments
 (0)