Forgot to add oldamt to amt for Roman Numeral adding in

addBonusEnchantment().
dev
sigonasr2 11 years ago
parent 0eb06c137a
commit 97417c7280
  1. 2
      BankEconomyMod/src/me/kaZep/Base/Main.java

@ -5380,7 +5380,7 @@ public void payDay(int time)
String parser = lore.get(i);
parser.replace(enchant_string, "");
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;
break;

Loading…
Cancel
Save