Browse Source

databse update for stacked resources

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
1359417b40
  1. 2
      src/engine/net/client/ClientMessagePump.java

2
src/engine/net/client/ClientMessagePump.java

@ -1464,7 +1464,7 @@ public class ClientMessagePump implements NetMsgHandler { @@ -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();

Loading…
Cancel
Save