=Fixed Bug #6 Roll improperly formats when providing single number

Edited roll function, array index had incorrect variable assigned
This commit is contained in:
Alex Stewart
2020-03-27 02:22:37 -04:00
parent 99e3566188
commit 4c4835e342
3 changed files with 31 additions and 22 deletions
+3
View File
@@ -387,7 +387,10 @@ public class ObjectBuilderFactory
// Determine token based on config. Default to test token.
String tokenToUse = Ref.TestToken;
if(ConfigGlobals.getStartupMode() == KittyStartupMode.Release)
tokenToUse = Ref.Token;
if(ConfigGlobals.getStartupMode() == KittyStartupMode.PoguRelease)
tokenToUse = Ref.PoguToken;
// Construct bot based on token
kitty = new JDABuilder(AccountType.BOT)