geforkt von Mirrors/FastAsyncWorldEdit
Should be equals in checking if valid prefix when not shorter and with no arguments
Dieser Commit ist enthalten in:
Ursprung
cf6f54bd28
Commit
575b0035df
@ -46,9 +46,9 @@ public abstract class RichParser<E> extends InputParser<E> implements AliasedPar
|
||||
}
|
||||
int i = other.indexOf('[');
|
||||
if (i == -1) {
|
||||
return other.startsWith(prefix);
|
||||
return other.equals(prefix);
|
||||
}
|
||||
return other.substring(0, i).equalsIgnoreCase(prefix);
|
||||
return other.substring(0, i).equals(prefix);
|
||||
};
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren