mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-09-16 17:14:16 +02: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";
|
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.
|
* Registers this placeholder into BentoBox's PlaceholderAPI expansion.
|
||||||
* @param placeholder the placeholder to register, not null
|
* @param placeholder the placeholder to register, not null
|
||||||
@ -100,14 +92,6 @@ public class PlaceholderAPIHook extends Hook {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @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
|
* Checks if a placeholder with this name is already registered
|
||||||
* @param addon the addon, not null
|
* @param addon the addon, not null
|
||||||
|
Loading…
Reference in New Issue
Block a user