databse update for stacked resources

This commit is contained in:
2024-05-20 14:23:16 -05:00
parent 85077a5e56
commit 1359417b40
+1 -1
View File
@@ -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();