|
|
@ -84,11 +84,14 @@ public class TeleportRepledgeListMsg extends ClientNetMsg { |
|
|
|
cities = City.getCitiesToTeleportTo(player); |
|
|
|
cities = City.getCitiesToTeleportTo(player); |
|
|
|
try { |
|
|
|
try { |
|
|
|
mines = Mine.getMinesToTeleportTo(player); |
|
|
|
mines = Mine.getMinesToTeleportTo(player); |
|
|
|
|
|
|
|
if(mines == null) |
|
|
|
|
|
|
|
mines = new ArrayList<>(); |
|
|
|
}catch(Exception e){ |
|
|
|
}catch(Exception e){ |
|
|
|
Logger.error("Unable To Load Mines For Teleport: " + e.getMessage()); |
|
|
|
Logger.error("Unable To Load Mines For Teleport: " + e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
cities = City.getCitiesToRepledgeTo(player); |
|
|
|
cities = City.getCitiesToRepledgeTo(player); |
|
|
|
|
|
|
|
mines = new ArrayList<>(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|