Fix wrong redirect behavior

This commit is contained in:
Liyan Zhao 2022-12-24 13:31:59 +08:00 committed by GitHub
parent a6c4baa1b6
commit f3311ac2a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,7 +231,6 @@ public class CommandDispatcher<S> {
if (child != null) {
forked |= context.isForked();
if (child.hasNodes()) {
foundCommand = true;
final RedirectModifier<S> modifier = context.getRedirectModifier();
if (modifier == null) {
if (next == null) {