From 930aa73657fbe4968f5da28e5fa62744927d1b22 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 20 Oct 2023 16:30:41 -0400 Subject: [PATCH] rs constructor completed --- src/engine/objects/ZoneTemplate.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/engine/objects/ZoneTemplate.java b/src/engine/objects/ZoneTemplate.java index d73e01d0..345b0999 100644 --- a/src/engine/objects/ZoneTemplate.java +++ b/src/engine/objects/ZoneTemplate.java @@ -38,14 +38,14 @@ public class ZoneTemplate { this.templateID = rs.getInt("template"); this.zone_type = rs.getString("zone_type"); this.zone_name = rs.getString("zone_name"); - this.peace_zone = rs.getString("peace_zone"); - this.major_radius = rs.getFloat("major_radius"); - this.minor_radius = rs.getFloat("minor_radius"); - this.min_blend = rs.getFloat("min_blend"); - this.max_blend = rs.getFloat("max_blend"); - this.has_water = rs.getString("has_water"); - this.sea_level = rs.getFloat("sea_level"); - this.has_terrain = rs.getString("has_terrain"); + this.peace_zone = rs.getString("zone_peace_zone"); + this.major_radius = rs.getFloat("zone_major_radius"); + this.minor_radius = rs.getFloat("zone_minor_radius"); + this.min_blend = rs.getFloat("zone_min_blend"); + this.max_blend = rs.getFloat("zone_max_blend"); + this.has_water = rs.getString("zone_has_water"); + this.sea_level = rs.getFloat("zone_sea_level"); + this.has_terrain = rs.getString("zone_has_terrain"); this.terrain_type = rs.getString("terrain_type"); this.terrain_max_y = rs.getFloat("terrain_max_y"); this.terrain_image = rs.getInt("terrain_image");