Removed deprecated methods in PlaceholderAPIHook

This commit is contained in:
Florian CUNY 2019-04-07 09:38:30 +02:00
parent 00546c2cb6
commit 5a5e0dafc0

View File

@ -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