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 {
Item buy = null; Item buy = null;
if (msg.getItemType() == GameObjectType.MobEquipment.ordinal()) { if (msg.getItemType() == GameObjectType.MobEquipment.ordinal()) {
ArrayList<MobEquipment> sellInventory = npc.getContract().getSellInventory(); ArrayList<MobEquipment> sellInventory = npc.getContract().getSellInventory();
if(npc.contract.getObjectUUID() == 890){ // default steward //if(npc.contract.getObjectUUID() == 890){ // default steward
sellInventory = npc.getSellInventorySteward(); // sellInventory = npc.getSellInventorySteward();
} //}
if(npc.contract.getObjectUUID() == 889){ // default builder //if(npc.contract.getObjectUUID() == 889){ // default builder
sellInventory = npc.getSellInventoryBuilder(); // sellInventory = npc.getSellInventoryBuilder();
} //}
if (sellInventory == null) { if (sellInventory == null) {
return; return;
} }

Loading…
Cancel
Save