forked from MagicBane/Server
Cities don't actually have a location. They are a property of a zone. Let's start here.
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user