Browse Source

revert steward and builder sell inventory

lakebane-mine-tele
FatBoy-DOTC 2 months ago
parent
commit
9965223d9b
  1. 12
      src/engine/net/client/msg/BuyFromNPCWindowMsg.java

12
src/engine/net/client/msg/BuyFromNPCWindowMsg.java

@ -112,12 +112,12 @@ public class BuyFromNPCWindowMsg extends ClientNetMsg { @@ -112,12 +112,12 @@ public class BuyFromNPCWindowMsg extends ClientNetMsg {
if (contract != null)
sellInventory = contract.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 (man != null)

Loading…
Cancel
Save