From 1359417b408675a5ad431a774cc08bdedd476749 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 20 May 2024 14:23:16 -0500 Subject: [PATCH] databse update for stacked resources --- src/engine/net/client/ClientMessagePump.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/ClientMessagePump.java b/src/engine/net/client/ClientMessagePump.java index 10d3a935..60dbd91d 100644 --- a/src/engine/net/client/ClientMessagePump.java +++ b/src/engine/net/client/ClientMessagePump.java @@ -1464,7 +1464,7 @@ public class ClientMessagePump implements NetMsgHandler { ChatManager.chatSystemError(sourcePlayer, "Failed To Buy Item"); return; } - if(me.getItemBase().getType().equals(ItemType.RESOURCE)){ + if(me.getItemBase().getType().equals(ItemType.RESOURCE) && npc.getContractID() == 900){ boolean stacked = false; for(Item item : itemMan.getInventory()){ int itemID = item.getItemBaseID();