Forgot to add oldamt to amt for Roman Numeral adding in
addBonusEnchantment().
This commit is contained in:
parent
0eb06c137a
commit
97417c7280
@ -5380,7 +5380,7 @@ public void payDay(int time)
|
|||||||
String parser = lore.get(i);
|
String parser = lore.get(i);
|
||||||
parser.replace(enchant_string, "");
|
parser.replace(enchant_string, "");
|
||||||
if (!override) {oldamt=toNumber(parser);} else {oldamt=0;}
|
if (!override) {oldamt=toNumber(parser);} else {oldamt=0;}
|
||||||
lore.set(i, ChatColor.GRAY+enchant_string+" "+toRomanNumeral((int)amt));
|
lore.set(i, ChatColor.GRAY+enchant_string+" "+toRomanNumeral((int)(oldamt+amt)));
|
||||||
}
|
}
|
||||||
added=true;
|
added=true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user