docs: deprecate `register()`
This commit is contained in:
parent
2d86870df5
commit
6465aea539
|
@ -320,7 +320,9 @@ public final class LocalExpansionManager implements Listener {
|
|||
* that call this method directly. It is the equivalent of {@code register(expansion, false)}
|
||||
* @param expansion the expansion to register
|
||||
* @return if the expansion was registered
|
||||
* @deprecated use {@link #register(PlaceholderExpansion, boolean)} directly
|
||||
*/
|
||||
@Deprecated
|
||||
@ApiStatus.Internal
|
||||
public boolean register(@NotNull final PlaceholderExpansion expansion) {
|
||||
return register(expansion, false);
|
||||
|
|
Loading…
Reference in New Issue