Browse Source

revert steward and builder sell inventory

lakebane-mine-tele
FatBoy-DOTC 3 months ago
parent
commit
519a6a2b1e
  1. 12
      src/engine/net/client/ClientMessagePump.java

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

@ -1402,12 +1402,12 @@ public class ClientMessagePump implements NetMsgHandler { @@ -1402,12 +1402,12 @@ public class ClientMessagePump implements NetMsgHandler {
Item buy = null;
if (msg.getItemType() == GameObjectType.MobEquipment.ordinal()) {
ArrayList<MobEquipment> sellInventory = npc.getContract().getSellInventory();
if(npc.contract.getObjectUUID() == 890){ // default steward
sellInventory = npc.getSellInventorySteward();
}
if(npc.contract.getObjectUUID() == 889){ // default builder
sellInventory = npc.getSellInventoryBuilder();
}
//if(npc.contract.getObjectUUID() == 890){ // default steward
// sellInventory = npc.getSellInventorySteward();
//}
//if(npc.contract.getObjectUUID() == 889){ // default builder
// sellInventory = npc.getSellInventoryBuilder();
//}
if (sellInventory == null) {
return;
}

Loading…
Cancel
Save