forked from MagicBane/Server
Error trap
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user