forked from MagicBane/Server
Cities don't actually have a location. They are a property of a zone. Let's start here.
parent
b4a4323906
commit
4a5c0ae5a0
|
|
@ -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");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue