Browse Source

Error trap

combat-2
MagicBot 1 year ago
parent
commit
4bbbbf9fa2
  1. 5
      src/engine/objects/Zone.java

5
src/engine/objects/Zone.java

@ -80,7 +80,6 @@ public class Zone extends AbstractGameObject {
super(rs); super(rs);
try {
this.parentZoneID = rs.getInt("parent"); this.parentZoneID = rs.getInt("parent");
this.playerCityUUID = rs.getInt("playerCityUUID"); this.playerCityUUID = rs.getInt("playerCityUUID");
this.guild_zone = this.playerCityUUID != 0; this.guild_zone = this.playerCityUUID != 0;
@ -130,10 +129,6 @@ public class Zone extends AbstractGameObject {
if (parentZone != null) if (parentZone != null)
parentZone.addNode(this); parentZone.addNode(this);
} catch (Exception e) {
Logger.error(e);
throw new RuntimeException(e);
}
// If zone doesn't yet hava a hash then write it back to the zone table // If zone doesn't yet hava a hash then write it back to the zone table

Loading…
Cancel
Save