Browse Source

New column used in rs constructor

combat-2
MagicBot 7 months ago
parent
commit
6254472bb8
  1. 2
      src/engine/objects/Contract.java

2
src/engine/objects/Contract.java

@ -85,7 +85,7 @@ public class Contract extends AbstractGameObject { @@ -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");

Loading…
Cancel
Save