Fix case check in PlaceholderExpansion.isRegistered (#161)

This commit is contained in:
Evan Lindsay 2019-08-04 15:03:25 -07:00 committed by Ryan
parent 7c54e58ab7
commit 6b9f22c7ec
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
/**