From 43fbcd5b552b74448f98c5294f44434dfd4c40c4 Mon Sep 17 00:00:00 2001 From: GoldenGnu Date: Fri, 3 May 2024 17:56:28 +0200 Subject: [PATCH] Bug Fix: Subpile count in the stockpile shopping list was always zero --- .../gui/tabs/stockpile/StockpileShoppingListDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/nikr/eve/jeveasset/gui/tabs/stockpile/StockpileShoppingListDialog.java b/src/main/java/net/nikr/eve/jeveasset/gui/tabs/stockpile/StockpileShoppingListDialog.java index ed118c79b..07de0e747 100644 --- a/src/main/java/net/nikr/eve/jeveasset/gui/tabs/stockpile/StockpileShoppingListDialog.java +++ b/src/main/java/net/nikr/eve/jeveasset/gui/tabs/stockpile/StockpileShoppingListDialog.java @@ -250,7 +250,7 @@ private void updateList() { if (stockpileItem instanceof SubpileStock) { String key = stockpileItem.getName().trim(); double value = subpiles.getOrDefault(key, 0.0); - subpiles.put(key, value + stockpileItem.getCountMinimumMultiplied()); + subpiles.put(key, value + ((SubpileStock) stockpileItem).getSubMultiplier()); } TypeIdentifier typeID = new TypeIdentifier(stockpileItem); if (!typeID.isEmpty()) { //Ignore Total