Update PlaceholderAPI.java

This commit is contained in:
Andre_601 2020-12-14 01:08:40 +01:00 committed by GitHub
parent e7e9e81e85
commit 30a194c75d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -150,7 +150,7 @@ public final class PlaceholderAPI {
/** /**
* set relational placeholders in the text specified placeholders are matched with the pattern * set relational placeholders in the text specified placeholders are matched with the pattern
* %<rel_(identifier)_(params)>% when set with this method * {@literal %<rel_(identifier)_(params)>%} when set with this method
* *
* @param one First player to compare * @param one First player to compare
* @param two Second player to compare * @param two Second player to compare
@ -225,6 +225,8 @@ public final class PlaceholderAPI {
/** /**
* Get the normal placeholder pattern. * Get the normal placeholder pattern.
*
* @return The default Placeholder Pattern
*/ */
public static Pattern getPlaceholderPattern() { public static Pattern getPlaceholderPattern() {
return PLACEHOLDER_PATTERN; return PLACEHOLDER_PATTERN;
@ -232,6 +234,8 @@ public final class PlaceholderAPI {
/** /**
* Get the bracket placeholder pattern. * Get the bracket placeholder pattern.
*
* @return the Bracket Placeholder Pattern
*/ */
public static Pattern getBracketPlaceholderPattern() { public static Pattern getBracketPlaceholderPattern() {
return BRACKET_PLACEHOLDER_PATTERN; return BRACKET_PLACEHOLDER_PATTERN;
@ -239,6 +243,8 @@ public final class PlaceholderAPI {
/** /**
* Get the relational placeholder pattern. * Get the relational placeholder pattern.
*
* @return The Relational Placeholder Pattern
*/ */
public static Pattern getRelationalPlaceholderPattern() { public static Pattern getRelationalPlaceholderPattern() {
return RELATIONAL_PLACEHOLDER_PATTERN; return RELATIONAL_PLACEHOLDER_PATTERN;
@ -286,8 +292,7 @@ public final class PlaceholderAPI {
* Get map of registered placeholders * Get map of registered placeholders
* *
* @return Map of registered placeholders * @return Map of registered placeholders
* @deprecated Use {@link me.clip.placeholderapi.PlaceholderAPIPlugin().getLocalExpansionManager() * @deprecated Use {@link LocalExpansionManager#getExpansions()} instead.
* .getExpansions()} instead.
*/ */
@Deprecated @Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "2.11.0") @ApiStatus.ScheduledForRemoval(inVersion = "2.11.0")