Cities don't actually have a location. They are a property of a zone. Let's start here.

combat-2
MagicBot 2023-09-13 09:29:42 -04:00
parent b4a4323906
commit 4a5c0ae5a0
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public class City extends AbstractWorldObject {
if (establishedTimeStamp != null) if (establishedTimeStamp != null)
this.established = java.time.LocalDateTime.ofInstant(establishedTimeStamp.toInstant(), ZoneId.systemDefault()); 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"); java.sql.Timestamp realmTaxTimeStamp = rs.getTimestamp("realmTaxDate");