Browse Source

teleport to mines

lakebane-mine-tele
FatBoy-DOTC 3 months ago
parent
commit
50817352c1
  1. 3
      src/engine/net/client/msg/TeleportRepledgeListMsg.java

3
src/engine/net/client/msg/TeleportRepledgeListMsg.java

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

Loading…
Cancel
Save