Fallback to 0 instead of 1

This commit is contained in:
Bea 2022-12-19 00:14:30 +01:00
parent c9528848bc
commit 9504921f27

View File

@ -49,7 +49,7 @@ public class ClearCommand implements MessageCommand
toDeleteAmount = Integer.parseInt(args[0]);
} catch (NumberFormatException e)
{
toDeleteAmount = 1;
toDeleteAmount = 0;
}
}