diff --git a/eco-api/src/main/java/com/willfp/eco/core/placeholder/DynamicPlaceholder.java b/eco-api/src/main/java/com/willfp/eco/core/placeholder/DynamicPlaceholder.java index d218a8be..c834f609 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/placeholder/DynamicPlaceholder.java +++ b/eco-api/src/main/java/com/willfp/eco/core/placeholder/DynamicPlaceholder.java @@ -10,7 +10,7 @@ import java.util.function.Function; import java.util.regex.Pattern; /** - * A arguments that does not require a player and supports dynamic styles. + * A placeholder that does not require a player and supports dynamic styles. */ public final class DynamicPlaceholder implements RegistrablePlaceholder { /** diff --git a/eco-api/src/main/java/com/willfp/eco/core/placeholder/PlayerPlaceholder.java b/eco-api/src/main/java/com/willfp/eco/core/placeholder/PlayerPlaceholder.java index cc4fbb67..f1d85637 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/placeholder/PlayerPlaceholder.java +++ b/eco-api/src/main/java/com/willfp/eco/core/placeholder/PlayerPlaceholder.java @@ -14,11 +14,6 @@ import java.util.regex.Pattern; * A arguments that requires a player. */ public final class PlayerPlaceholder implements RegistrablePlaceholder { - /** - * The name of the arguments. - */ - private final String identifier; - /** * The arguments pattern. */ @@ -45,7 +40,6 @@ public final class PlayerPlaceholder implements RegistrablePlaceholder { @NotNull final String identifier, @NotNull final Function<@NotNull Player, @Nullable String> function) { this.plugin = plugin; - this.identifier = identifier; this.pattern = Pattern.compile(identifier, Pattern.LITERAL); this.function = function; }