From 281dde533af5a6a2c914d3cef10530fda46ed4c6 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 9 May 2024 18:56:05 -0500 Subject: [PATCH] cleanup --- src/engine/objects/Contract.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }