Skip to content

Commit

Permalink
Name Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
APickledWalrus committed May 24, 2024
1 parent 516fb55 commit 459d8d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.ArrayList;
import java.util.List;

@Name("Value of Placeholder")
@Name("Placeholder Value")
@Description("An expression to obtain the value of a placeholder from a supported plugin.")
@Examples({
"command /ping <player>:",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"\t\t\tset the result to the name of the second player"
})
@Since("1.7.0")
public class ExprRelationalPlayers extends SimpleExpression<Player> {
public class ExprRelationalPlaceholderPlayers extends SimpleExpression<Player> {

static {
Skript.registerExpression(ExprRelationalPlayers.class, Player.class, ExpressionType.SIMPLE,
Skript.registerExpression(ExprRelationalPlaceholderPlayers.class, Player.class, ExpressionType.SIMPLE,
"[the] first player",
"[the] second player"
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"\tset the result to \"APickledWalrus\""
})
@Since("1.0.0, 1.3.0 (MVdWPlaceholderAPI support), 1.7.0 (relational placeholder support)")
public class StructPlaceholder extends Structure implements PlaceholderEvaluator {
public class StructCustomPlaceholder extends Structure implements PlaceholderEvaluator {

static {
Skript.registerStructure(StructPlaceholder.class,
Skript.registerStructure(StructCustomPlaceholder.class,
"(placeholder[ ]api|papi) [:relational] placeholder (with|for) [the] prefix %*string%",
"(mvdw[ ]placeholder[ ]api|mvdw) placeholder [with [the] name|named] %*string%"
);
Expand Down

0 comments on commit 459d8d3

Please sign in to comment.