=Bug Fixes

This commit is contained in:
Alex Stewart
2019-07-28 15:18:08 -07:00
parent 3af46e94da
commit 9cc703ab63
5 changed files with 41 additions and 20 deletions
+1 -2
View File
@@ -151,7 +151,6 @@ public class CommandRoll extends Command
break;
case 'd':
rolls = roll(first, second);
System.out.println(first);
for(int i= 0; i < first; i++)
{
value += rolls[i];
@@ -177,7 +176,7 @@ public class CommandRoll extends Command
int [] rolls = new int [sides];
if(dice < 1)
return new int[0];
return new int[0];
for(int i = 0; dice > i; i ++)
{
roll = (int)(Math.random() * sides) + 1;