diff --git a/TwosideKeeper.jar b/TwosideKeeper.jar index 91613ce..f3842e4 100644 Binary files a/TwosideKeeper.jar and b/TwosideKeeper.jar differ diff --git a/src/sig/plugin/TwosideKeeper/HelperStructures/Utils/InventoryUtils.java b/src/sig/plugin/TwosideKeeper/HelperStructures/Utils/InventoryUtils.java index 321e023..70f8bdf 100644 --- a/src/sig/plugin/TwosideKeeper/HelperStructures/Utils/InventoryUtils.java +++ b/src/sig/plugin/TwosideKeeper/HelperStructures/Utils/InventoryUtils.java @@ -16,6 +16,7 @@ import sig.plugin.TwosideKeeper.HelperStructures.CubeType; import sig.plugin.TwosideKeeper.HelperStructures.CustomItem; import sig.plugin.TwosideKeeper.HelperStructures.ItemCube; import sig.plugin.TwosideKeeper.HelperStructures.Common.GenericFunctions; +import sig.plugin.TwosideKeeper.HelperStructures.Common.ItemContainer; import sig.plugin.TwosideKeeper.HolidayEvents.Christmas; public class InventoryUtils { @@ -43,12 +44,26 @@ public class InventoryUtils { //TwosideKeeper.log("Items: "+ArrayUtils.toString(remaining), 0); HashMap remainingitems = virtualinventory.addItem(remaining); List itemslist = new ArrayList(); + List itemcube_list = new ArrayList(); for (int i=0;i extras = cube_inv.addItem(it); if (extras.size()==0) { List itemslist = new ArrayList(); + List itemcube_list = new ArrayList(); for (int i=0;i itemslist = new ArrayList(); + List itemcube_list = new ArrayList(); for (int j=0;j