Browse Source

Lore rules added to method

postwipe-guilds
MagicBot 6 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 {
if (ConfigManager.MB_RULESET.getValue().equals("LORE")) { if (ConfigManager.MB_RULESET.getValue().equals("LORE")) {
if (repledge == false) if (!repledge)
if (!city.getGuild().charter.equals(playerCharacter.guild.charter)) if (!city.getGuild().charter.equals(playerCharacter.guild.charter))
continue; continue;
if (!city.getGuild().charter.canJoin(playerCharacter))
continue;
} }
// Filter Player cities // Filter Player cities

Loading…
Cancel
Save