Added an input check for the reroll input