Fix merge
This commit is contained in:
parent
1d1a222611
commit
2fac63ba74
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class LiteralCommandNode<S> extends CommandNode<S> {
|
|||
final int start = reader.getCursor();
|
||||
if (reader.canRead(literal.length())) {
|
||||
final int end = start + literal.length();
|
||||
if (reader.getString().toLowerCase(Locale.ROOT).substring(start, end).equals(literal)) {
|
||||
if (reader.getString().toLowerCase(Locale.ROOT).substring(start, end).equals(literalLowerCase)) {
|
||||
reader.setCursor(end);
|
||||
if (!reader.canRead() || reader.peek() == ' ') {
|
||||
return end;
|
||||
|
|
Loading…
Reference in a new issue