From 909e04b8d1268da90988d5aadad7e85b15065bb7 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 8 Jun 2024 19:07:55 -0500 Subject: [PATCH] update inventory after resource purchase --- src/engine/net/client/ClientMessagePump.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index 35cb514a..cba2ec63 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -1588,6 +1588,7 @@ public class ClientMessagePump implements NetMsgHandler { DbManager.ItemQueries.UPDATE_NUM_ITEMS(buy,buy.getNumOfItems()); } } + itemMan.updateInventory(); } private static void Repair(RepairMsg msg, ClientConnection origin) {