Province qualifies as nation too.
This commit is contained in:
1 parent
5f67c043c2
commit
3aca40dc78
2 files changed
+2
-3
No files matched your search
@@ -101,7 +101,8 @@ public class SwearInGuildHandler extends AbstractClientMsgHandler {
|
||||
GuildManager.updateAllGuildTags(protectorate);
|
||||
|
||||
if (nation.guildState == GuildState.Sovereign)
|
||||
if (protectorate.guildState.equals(GuildState.Protectorate))
|
||||
if (protectorate.guildState.equals(GuildState.Protectorate) ||
|
||||
protectorate.guildState.equals(GuildState.Province))
|
||||
nation.guildState = GuildState.Nation;
|
||||
|
||||
SendGuildEntryMsg msg = new SendGuildEntryMsg(player);
|
||||
|
||||
@@ -741,8 +741,6 @@ public class Guild extends AbstractWorldObject {
|
||||
|
||||
this.guildState = GuildManager.calcuateGuildState(this);
|
||||
|
||||
Logger.info(this.name + ":" + this.guildState + ":" + this.nation.name);
|
||||
|
||||
if (this.getOwnedCity() == null)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user