Forked commands should execute FIFO
This commit is contained in:
1 parent
1369eaf2c3
commit
fdff548a64
2 files changed
+2
-2
No files matched your search
@@ -93,7 +93,7 @@ public class CommandDispatcher<S> {
|
||||
contexts.add(parse.getContext());
|
||||
|
||||
while (!contexts.isEmpty()) {
|
||||
final CommandContextBuilder<S> builder = contexts.removeLast();
|
||||
final CommandContextBuilder<S> builder = contexts.removeFirst();
|
||||
final CommandContextBuilder<S> child = builder.getChild();
|
||||
final CommandContext<S> context = builder.build();
|
||||
if (child != null) {
|
||||
|
||||
Reference in new issue
Block a user