Browse Source

Error trap

magicbox-1.5.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 { @@ -80,7 +80,6 @@ public class Zone extends AbstractGameObject {
super(rs);
try {
this.parentZoneID = rs.getInt("parent");
this.playerCityUUID = rs.getInt("playerCityUUID");
this.guild_zone = this.playerCityUUID != 0;
@ -130,10 +129,6 @@ public class Zone extends AbstractGameObject { @@ -130,10 +129,6 @@ public class Zone extends AbstractGameObject {
if (parentZone != null)
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

Loading…
Cancel
Save