Browse Source

More logic work

postwipe-guilds
MagicBot 5 months ago
parent
commit
141af19daa
  1. 2
      src/engine/objects/City.java

2
src/engine/objects/City.java

@ -316,6 +316,7 @@ public class City extends AbstractWorldObject { @@ -316,6 +316,7 @@ public class City extends AbstractWorldObject {
if (!city.getGuild().charter.equals(playerCharacter.guild.charter))
continue;
if (repledge)
if (!city.getGuild().charter.canJoin(playerCharacter))
continue;
}
@ -359,6 +360,7 @@ public class City extends AbstractWorldObject { @@ -359,6 +360,7 @@ public class City extends AbstractWorldObject {
if (!city.getGuild().charter.equals(playerCharacter.guild.charter))
continue;
if (repledge)
if (!city.getGuild().charter.canJoin(playerCharacter))
continue;
}

Loading…
Cancel
Save