Browse Source

resource merchant work

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
6247332f83
  1. 2
      src/engine/server/world/WorldServer.java

2
src/engine/server/world/WorldServer.java

@ -658,6 +658,8 @@ public class WorldServer { @@ -658,6 +658,8 @@ public class WorldServer {
resourceMerchant.setLoc(resourceMerchant.bindLoc);
resourceMerchant.contract.getSellInventory().clear();
for(int resourceID : Warehouse.getMaxResources().keySet()){
if(resourceID == 7 || resourceID == 1580021)
continue;
MobEquipment me = new MobEquipment(ItemBase.getItemBase(resourceID), 0, 0);
resourceMerchant.contract.getSellInventory().add(me);
}

Loading…
Cancel
Save