From 4a5c0ae5a0a5c101cd6d1773d9616d6117f6b61b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 13 Sep 2023 09:29:42 -0400 Subject: [PATCH] Cities don't actually have a location. They are a property of a zone. Let's start here. --- src/engine/objects/City.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/City.java b/src/engine/objects/City.java index 21185423..157e31ad 100644 --- a/src/engine/objects/City.java +++ b/src/engine/objects/City.java @@ -110,7 +110,7 @@ public class City extends AbstractWorldObject { if (establishedTimeStamp != null) this.established = java.time.LocalDateTime.ofInstant(establishedTimeStamp.toInstant(), ZoneId.systemDefault()); - this.location = new Vector3fImmutable(rs.getFloat("xCoord"), rs.getFloat("yCoord"), rs.getFloat("zCoord")); + this.location = Vector3fImmutable.ZERO; java.sql.Timestamp realmTaxTimeStamp = rs.getTimestamp("realmTaxDate");