Browse Source

class and table schema now conform to JSON

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
61961bab05
  1. 2
      src/engine/objects/Zone.java

2
src/engine/objects/Zone.java

@ -70,7 +70,7 @@ public class Zone extends AbstractGameObject {
this.parentZoneID = rs.getInt("parent"); this.parentZoneID = rs.getInt("parent");
this.playerCityUUID = rs.getInt("playerCityUUID"); this.playerCityUUID = rs.getInt("playerCityUUID");
this.isGuildZone = this.playerCityUUID != 0; this.isGuildZone = this.playerCityUUID != 0;
this.zoneName = rs.getString("Name"); this.zoneName = rs.getString("zoneName");
this.xOffset = rs.getFloat("xOffset"); this.xOffset = rs.getFloat("xOffset");
this.zOffset = rs.getFloat("zOffset"); this.zOffset = rs.getFloat("zOffset");
this.yOffset = rs.getFloat("yOffset"); this.yOffset = rs.getFloat("yOffset");

Loading…
Cancel
Save