=Fixed Bug #6 Roll improperly formats when providing single number
Edited roll function, array index had incorrect variable assigned
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
package dataStructures;
|
||||
|
||||
public enum KittyStartupMode
|
||||
{
|
||||
Dev(1), Release(2);
|
||||
|
||||
private final int value;
|
||||
private KittyStartupMode(int value)
|
||||
{
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int getValue()
|
||||
{
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
package dataStructures;
|
||||
|
||||
public enum KittyStartupMode
|
||||
{
|
||||
Dev(1), Release(2), PoguRelease(3);
|
||||
|
||||
private final int value;
|
||||
private KittyStartupMode(int value)
|
||||
{
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int getValue()
|
||||
{
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user