🐛 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;
|
final User user;
|
||||||
try {
|
try {
|
||||||
user = pircBotX.getUserChannelDao().getUser(input);
|
user = pircBotX.getUserChannelDao().getUser(input);
|
||||||
|
inputQueue.remove();
|
||||||
} catch (final DaoException exception) {
|
} catch (final DaoException exception) {
|
||||||
return ArgumentParseResult.failure(
|
return ArgumentParseResult.failure(
|
||||||
new UserParseException(
|
new UserParseException(
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ ext {
|
||||||
'paper-api' : '1.15.2-R0.1-SNAPSHOT',
|
'paper-api' : '1.15.2-R0.1-SNAPSHOT',
|
||||||
'velocity-api' : '1.1.0-SNAPSHOT',
|
'velocity-api' : '1.1.0-SNAPSHOT',
|
||||||
// IRC DEPENDENCIES
|
// IRC DEPENDENCIES
|
||||||
'pircbotx' : '2.2',
|
'pircbotx' : '83a4c22e80',
|
||||||
// TEST DEPENDENCIES
|
// TEST DEPENDENCIES
|
||||||
'jupiter-engine': '5.7.0',
|
'jupiter-engine': '5.7.0',
|
||||||
'jhm' : '1.25.2'
|
'jhm' : '1.25.2'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue