From d6f94bd0e7b4527f10beeda79da560f17d6a407e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 19 Jun 2024 17:10:49 -0400 Subject: [PATCH] Merged methods --- src/engine/net/client/msg/TeleportRepledgeListMsg.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/engine/net/client/msg/TeleportRepledgeListMsg.java b/src/engine/net/client/msg/TeleportRepledgeListMsg.java index 897b9c6b..46fe4df1 100644 --- a/src/engine/net/client/msg/TeleportRepledgeListMsg.java +++ b/src/engine/net/client/msg/TeleportRepledgeListMsg.java @@ -73,10 +73,8 @@ public class TeleportRepledgeListMsg extends ClientNetMsg { public void configure() { - if (isTeleport) - cities = City.getCitiesToTeleportTo(player, false); - else - cities = City.getCitiesToRepledgeTo(player); + cities = City.getCitiesToTeleportTo(player, !isTeleport); + } /**