Browse Source

databse update for stacked resources

lakebane-master
FatBoy-DOTC 6 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 {
ChatManager.chatSystemError(sourcePlayer, "Failed To Buy Item"); ChatManager.chatSystemError(sourcePlayer, "Failed To Buy Item");
return; return;
} }
if(me.getItemBase().getType().equals(ItemType.RESOURCE)){ if(me.getItemBase().getType().equals(ItemType.RESOURCE) && npc.getContractID() == 900){
boolean stacked = false; boolean stacked = false;
for(Item item : itemMan.getInventory()){ for(Item item : itemMan.getInventory()){
int itemID = item.getItemBaseID(); int itemID = item.getItemBaseID();

Loading…
Cancel
Save