mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Don't call next suggestion provider if there are no args left.
This commit is contained in:
parent
cba32732a3
commit
6cfc60b2d6
@ -43,6 +43,11 @@ public abstract class SimpleCommand<T> extends ParameterCommand<T> {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
// There's nothing more anyway
|
||||
if (args.position() == args.size()) {
|
||||
return suggestions;
|
||||
}
|
||||
}
|
||||
return suggestions;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user