From 6b9f22c7ecb903d8dc6b2e93d70441e55fd1d871 Mon Sep 17 00:00:00 2001 From: Evan Lindsay Date: Sun, 4 Aug 2019 15:03:25 -0700 Subject: [PATCH] Fix case check in PlaceholderExpansion.isRegistered (#161) --- .../me/clip/placeholderapi/expansion/PlaceholderExpansion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java index 64b608d..9c6ad16 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java @@ -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()); } /**