Allow a die to have 145 sides
This commit is contained in:
parent
97d479adc4
commit
714b0008bc
1 changed files with 2 additions and 2 deletions
|
@ -63,9 +63,9 @@ namespace Geekbot.Core.DiceParser
|
|||
throw new DiceException("Die must have at least 2 sides") { DiceName = DiceName };
|
||||
}
|
||||
|
||||
if (Sides > 144)
|
||||
if (Sides > 145)
|
||||
{
|
||||
throw new DiceException("Die can not have more than 144 sides") { DiceName = DiceName };
|
||||
throw new DiceException("Die can not have more than 145 sides") { DiceName = DiceName };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue