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

View File

@ -98,7 +98,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook {
*/ */
public boolean isRegistered() { public boolean isRegistered() {
Validate.notNull(getIdentifier(), "Placeholder identifier can not be null!"); Validate.notNull(getIdentifier(), "Placeholder identifier can not be null!");
return PlaceholderAPI.getRegisteredIdentifiers().contains(getIdentifier()); return PlaceholderAPI.isRegistered(getIdentifier());
} }
/** /**