🐛 Pop input on correctly parsed PircBotX user
This commit is contained in:
parent
7c340f7a60
commit
63068ad75d
2 changed files with 2 additions and 1 deletions
|
|
@ -142,6 +142,7 @@ public final class UserArgument<C> extends CommandArgument<C, User> {
|
|||
final User user;
|
||||
try {
|
||||
user = pircBotX.getUserChannelDao().getUser(input);
|
||||
inputQueue.remove();
|
||||
} catch (final DaoException exception) {
|
||||
return ArgumentParseResult.failure(
|
||||
new UserParseException(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue