Fallback to 0 instead of 1
This commit is contained in:
parent
c9528848bc
commit
9504921f27
@ -49,7 +49,7 @@ public class ClearCommand implements MessageCommand
|
|||||||
toDeleteAmount = Integer.parseInt(args[0]);
|
toDeleteAmount = Integer.parseInt(args[0]);
|
||||||
} catch (NumberFormatException e)
|
} catch (NumberFormatException e)
|
||||||
{
|
{
|
||||||
toDeleteAmount = 1;
|
toDeleteAmount = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user