Browse Source

Signature update

postwipe-guilds
MagicBot 5 months ago
parent
commit
4a7013de61
  1. 2
      src/engine/net/client/handlers/MerchantMsgHandler.java
  2. 2
      src/engine/net/client/msg/TeleportRepledgeListMsg.java
  3. 3
      src/engine/objects/City.java

2
src/engine/net/client/handlers/MerchantMsgHandler.java

@ -248,7 +248,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler { @@ -248,7 +248,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
City targetCity = null;
if (isTeleport)
cities = City.getCitiesToTeleportTo(player);
cities = City.getCitiesToTeleportTo(player, false);
else
cities = City.getCitiesToRepledgeTo(player);
for (City city : cities) {

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

@ -74,7 +74,7 @@ public class TeleportRepledgeListMsg extends ClientNetMsg { @@ -74,7 +74,7 @@ public class TeleportRepledgeListMsg extends ClientNetMsg {
public void configure() {
if (isTeleport)
cities = City.getCitiesToTeleportTo(player);
cities = City.getCitiesToTeleportTo(player, false);
else
cities = City.getCitiesToRepledgeTo(player);
}

3
src/engine/objects/City.java

@ -286,7 +286,7 @@ public class City extends AbstractWorldObject { @@ -286,7 +286,7 @@ public class City extends AbstractWorldObject {
return city.getBindLoc();
}
public static ArrayList<City> getCitiesToTeleportTo(PlayerCharacter playerCharacter) {
public static ArrayList<City> getCitiesToTeleportTo(PlayerCharacter playerCharacter, boolean repledge) {
ArrayList<City> cities = new ArrayList<>();
@ -307,7 +307,6 @@ public class City extends AbstractWorldObject { @@ -307,7 +307,6 @@ public class City extends AbstractWorldObject {
if (city.parentZone == null)
continue;
;
if (city.parentZone.guild_zone && city.isOpen() && city.getTOL().rank > 4 && city.getGuild().charter.equals(playerCharacter.guild.charter)) {

Loading…
Cancel
Save