|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|