mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-03 22:11:32 +01:00
Removed deprecated methods in PlaceholderAPIHook
This commit is contained in:
parent
00546c2cb6
commit
5a5e0dafc0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user