From 38ef0fea36f00d4b3e99ab4bd94fa76e8b0df536 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Thu, 1 Apr 2021 01:50:47 -0400 Subject: [PATCH] fixed a typo --- the_prestige.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/the_prestige.py b/the_prestige.py index d2138fb..caddbde 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -661,9 +661,9 @@ class StartDraftCommand(Command): if teamsize-pitchers > 20 or pitchers > 8: raise CommandError("You can't fit that many players on a team, chief. Slow your roll.") - if teamsize < 3 or pitchers < 1 or draftsize < 10 or minsize < 2: - raise CommandError("One of those numbers is too low. Draft size has to be at least 10, the rest should be obvious.") - if drafsize > 40: + if teamsize < 3 or pitchers < 1 or draftsize < 5 or minsize < 2: + raise CommandError("One of those numbers is too low. Draft size has to be at least 5, the rest should be obvious.") + if draftsize > 40: raise CommandError("40 players is the max. We're not too confident about pushing for more.") draft = Draft.make_draft(teamsize, draftsize, minsize, pitchers)