Allow a die to have 145 sides

This commit is contained in:
runebaas 2020-12-11 22:38:43 +01:00
parent 97d479adc4
commit 714b0008bc
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -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 };
}
}
}