Browse Source

More logic work

postwipe-guilds
MagicBot 6 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 {
if (!city.getGuild().charter.equals(playerCharacter.guild.charter)) if (!city.getGuild().charter.equals(playerCharacter.guild.charter))
continue; continue;
if (repledge)
if (!city.getGuild().charter.canJoin(playerCharacter)) if (!city.getGuild().charter.canJoin(playerCharacter))
continue; continue;
} }
@ -359,6 +360,7 @@ public class City extends AbstractWorldObject {
if (!city.getGuild().charter.equals(playerCharacter.guild.charter)) if (!city.getGuild().charter.equals(playerCharacter.guild.charter))
continue; continue;
if (repledge)
if (!city.getGuild().charter.canJoin(playerCharacter)) if (!city.getGuild().charter.canJoin(playerCharacter))
continue; continue;
} }

Loading…
Cancel
Save