mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 08:25:08 +00:00
Unify player string
<> args are used in a lot of commands, PlayerName is used in only 3 commands and I don'T want to remove methods if not really necessary, so let's just change it here.
This commit is contained in:
parent
41052b27a0
commit
fbaef13553
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public abstract class Argument<T> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
public static final Argument<String> PlayerName =
|
public static final Argument<String> PlayerName =
|
||||||
new Argument<String>("PlayerName", "Dinnerbone") {
|
new Argument<String>("PlayerName", "<player>") {
|
||||||
@Override public String parse(String in) {
|
@Override public String parse(String in) {
|
||||||
return in.length() <= 16 ? in : null;
|
return in.length() <= 16 ? in : null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue