From 97417c7280858b426d996d67df452ea09b275763 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Tue, 10 Dec 2013 09:45:14 -0700 Subject: [PATCH] Forgot to add oldamt to amt for Roman Numeral adding in addBonusEnchantment(). --- BankEconomyMod/src/me/kaZep/Base/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BankEconomyMod/src/me/kaZep/Base/Main.java b/BankEconomyMod/src/me/kaZep/Base/Main.java index ff4b2fc..d2c2e50 100644 --- a/BankEconomyMod/src/me/kaZep/Base/Main.java +++ b/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;