Check removed

This commit is contained in:
2026-04-26 14:26:18 -04:00
parent 4fde07969b
commit c77e7a6190
@@ -67,11 +67,6 @@ public class SwearInGuildHandler extends AbstractClientMsgHandler {
return true;
}
if (!Guild.canSwearIn(targetGuild)) {
ErrorPopupMsg.sendErrorMsg(player, targetGuild.getGuildState().name() + "cannot be sworn in");
return true;
}
if (GuildStatusController.isGuildLeader(player.getGuildStatus()) == false) {
ErrorPopupMsg.sendErrorMsg(player, "Your do not have such authority!");
return true;
@@ -82,16 +77,8 @@ public class SwearInGuildHandler extends AbstractClientMsgHandler {
return true;
}
switch (targetGuild.getGuildState()) {
case Petitioner:
if (targetGuild.getGuildState().equals(GuildState.Errant))
GuildManager.updateAllGuildBinds(targetGuild, nation.getOwnedCity());
break;
case Protectorate:
break;
default:
//shouldn't get here.
break;
}
//update Guild state.
targetGuild.setNation(nation);