From 19d2e0788b3b1c19ce76cd168753d55d86e6bbf6 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 3 Aug 2021 23:34:39 +0100 Subject: [PATCH] Added PlaceholderEntry#register --- .../core/integrations/placeholder/PlaceholderEntry.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eco-api/src/main/java/com/willfp/eco/core/integrations/placeholder/PlaceholderEntry.java b/eco-api/src/main/java/com/willfp/eco/core/integrations/placeholder/PlaceholderEntry.java index 7c7ba4e4..609c6b9f 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/integrations/placeholder/PlaceholderEntry.java +++ b/eco-api/src/main/java/com/willfp/eco/core/integrations/placeholder/PlaceholderEntry.java @@ -77,4 +77,11 @@ public class PlaceholderEntry { public boolean requiresPlayer() { return requiresPlayer; } + + /** + * Register the placeholder. + */ + public void register() { + PlaceholderManager.registerPlaceholder(this); + } }