Fallback to 0 instead of 1
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-12-19 00:14:30 +01:00
parent 1a6fe6465c
commit 36ad728bbc

View File

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