From 5a5e0dafc0b87ccfc45667641d0154c0982ca095 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Sun, 7 Apr 2019 09:38:30 +0200 Subject: [PATCH] Removed deprecated methods in PlaceholderAPIHook --- .../bentobox/hooks/PlaceholderAPIHook.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/hooks/PlaceholderAPIHook.java b/src/main/java/world/bentobox/bentobox/hooks/PlaceholderAPIHook.java index 65d608b1f..0d97ba5ae 100644 --- a/src/main/java/world/bentobox/bentobox/hooks/PlaceholderAPIHook.java +++ b/src/main/java/world/bentobox/bentobox/hooks/PlaceholderAPIHook.java @@ -42,14 +42,6 @@ public class PlaceholderAPIHook extends Hook { return "could not register BentoBox's expansion"; } - /** - * @deprecated As of 1.4.0, renamed to {@link #registerPlaceholder(String, PlaceholderReplacer)}. - */ - @Deprecated - public void registerBentoBoxPlaceholder(String placeholder, PlaceholderReplacer replacer) { - registerPlaceholder(placeholder, replacer); - } - /** * Registers this placeholder into BentoBox's PlaceholderAPI expansion. * @param placeholder the placeholder to register, not null @@ -99,14 +91,6 @@ public class PlaceholderAPIHook extends Hook { addonsExpansions.get(addon).unregisterPlaceholder(placeholder); } } - - /** - * @deprecated As of 1.4.0, renamed to {@link #registerPlaceholder(Addon, String, PlaceholderReplacer)}. - */ - @Deprecated - public void registerAddonPlaceholder(Addon addon, String placeholder, PlaceholderReplacer replacer) { - registerPlaceholder(addon, placeholder, replacer); - } /** * Checks if a placeholder with this name is already registered