mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-27 11:27:40 +01:00
Fix case check in PlaceholderExpansion.isRegistered (#161)
This commit is contained in:
parent
7c54e58ab7
commit
6b9f22c7ec
@ -98,7 +98,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook {
|
||||
*/
|
||||
public boolean isRegistered() {
|
||||
Validate.notNull(getIdentifier(), "Placeholder identifier can not be null!");
|
||||
return PlaceholderAPI.getRegisteredIdentifiers().contains(getIdentifier());
|
||||
return PlaceholderAPI.isRegistered(getIdentifier());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user