mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 05:36:45 +01:00
Fixed denying 16 length player names
This commit is contained in:
parent
f1d76beb3a
commit
248ffd9d6e
@ -64,7 +64,7 @@ public abstract class Argument<T> {
|
|||||||
public static Argument<String> PlayerName = new Argument<String>("PlayerName", "Dinnerbone") {
|
public static Argument<String> PlayerName = new Argument<String>("PlayerName", "Dinnerbone") {
|
||||||
@Override
|
@Override
|
||||||
public String parse(String in) {
|
public String parse(String in) {
|
||||||
return in.length() < 16 ? in : null;
|
return in.length() <= 16 ? in : null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user