From 6254472bb88c06db0dba049c8655f37faeb4a380 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 5 Apr 2024 09:35:38 -0400 Subject: [PATCH] New column used in rs constructor --- src/engine/objects/Contract.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index f625fec8..5defef35 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -85,7 +85,7 @@ public class Contract extends AbstractGameObject { this.vendorDialog = VendorDialog.getVendorDialog(rs.getInt("dialogID")); this.iconID = rs.getInt("iconID"); this.vendorID = rs.getInt("vendorID"); - this.allowedBuildings = mbEnums.fromLong(rs.getLong("allowedBuildingTypeID"), mbEnums.BuildingGroup.class); + this.allowedBuildings = mbEnums.fromString(rs.getString("slotInBuildings"), mbEnums.BuildingGroup.class); this.equipmentSet = rs.getInt("equipSetID"); this.inventorySet = rs.getInt("inventorySet");