Browse Source

Lore rules added to method

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

5
src/engine/objects/City.java

@ -305,9 +305,12 @@ public class City extends AbstractWorldObject { @@ -305,9 +305,12 @@ public class City extends AbstractWorldObject {
if (ConfigManager.MB_RULESET.getValue().equals("LORE")) {
if (repledge == false)
if (!repledge)
if (!city.getGuild().charter.equals(playerCharacter.guild.charter))
continue;
if (!city.getGuild().charter.canJoin(playerCharacter))
continue;
}
// Filter Player cities

Loading…
Cancel
Save