forked from MagicBane/Server
Logic cleanup pass for protectorate logic
This commit is contained in:
@@ -99,10 +99,9 @@ public class SwearInGuildHandler extends AbstractClientMsgHandler {
|
||||
protectorate.setNation(nation);
|
||||
GuildManager.updateAllGuildTags(protectorate);
|
||||
|
||||
if (nation.guildState == GuildState.Sovereign) {
|
||||
if (nation.guildState == GuildState.Sovereign)
|
||||
if (protectorate.guildState.equals(GuildState.Protectorate))
|
||||
nation.guildState = GuildState.Nation;
|
||||
}
|
||||
|
||||
SendGuildEntryMsg msg = new SendGuildEntryMsg(player);
|
||||
dispatch = Dispatch.borrow(player, msg);
|
||||
|
||||
Reference in New Issue
Block a user