diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index 08bbf149..f1736f78 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -203,7 +203,8 @@ public class Contract extends AbstractGameObject { for (int resourceID : Warehouse.getMaxResources().keySet()) { //MobLoot resource = new MobLoot(resourceMerchant,ItemBase.getItemBase(resourceID),1,false); //resource.magicValue = Warehouse.getCostForResource(resourceID); - MobEquipment resource = new MobEquipment(resourceID, 100.0f); + ItemBase ib = ItemBase.getItemBase(resourceID); + MobEquipment resource = new MobEquipment(ib, 0,0); resource.magicValue = Warehouse.getCostForResource(resourceID); returnList.add(resource); }