From 978118528217640f52355c3196539ca68f5aa8fb Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Tue, 10 Dec 2013 11:31:49 -0700 Subject: [PATCH] Fix sortEnchantments() so it works in all situations. Fixed issue with Enchanter A buff creating inventory desyncs. --- BankEconomyMod/src/me/kaZep/Base/Main.java | 22 +++++++++++++-- .../src/me/kaZep/Base/PlayerListener.java | 28 +++++++++---------- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/BankEconomyMod/src/me/kaZep/Base/Main.java b/BankEconomyMod/src/me/kaZep/Base/Main.java index bc3ec26..c98a858 100644 --- a/BankEconomyMod/src/me/kaZep/Base/Main.java +++ b/BankEconomyMod/src/me/kaZep/Base/Main.java @@ -5504,9 +5504,11 @@ public void payDay(int time) List newLoreData = new ArrayList(); //First find all 'extra' special enchantments. for (int i=0;i getBonusRomanNumeralEnchantments() { + List finallist = new ArrayList(); + for (int i=0;i