From 6825c9afc1d58f3ac68c607187990c8920d40102 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Fri, 20 Apr 2018 22:15:13 -0400 Subject: [PATCH] Use registerExpansion instead of registerPlaceholderHook in the register method. --- .../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 7813ffe..cd57cb6 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java @@ -107,7 +107,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook { */ public boolean register() { Validate.notNull(getIdentifier(), "Placeholder identifier can not be null!"); - return PlaceholderAPI.registerPlaceholderHook(getIdentifier(), this); + return PlaceholderAPI.registerExpansion(this); } /**