Fallback to 0 instead of 1
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1a6fe6465c
commit
36ad728bbc
@ -49,7 +49,7 @@ public class ClearCommand implements MessageCommand
|
||||
toDeleteAmount = Integer.parseInt(args[0]);
|
||||
} catch (NumberFormatException e)
|
||||
{
|
||||
toDeleteAmount = 1;
|
||||
toDeleteAmount = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user