Fix merge

This commit is contained in:
Chris Hennick 2022-06-06 15:38:43 -07:00 committed by GitHub
parent 1d1a222611
commit 2fac63ba74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;