Method removed

This commit is contained in:
2026-05-10 12:10:51 -04:00
parent a570d127be
commit 580452d68b
2 changed files with 2 additions and 38 deletions
@@ -79,18 +79,14 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
return;
}
GuildManager.updateAllGuildBinds(player.getGuild(), npc.getGuild().getOwnedCity());
//update Guild state.
player.getGuild().setNation(npc.getGuild());
GuildManager.updateAllGuildTags(player.getGuild());
//update state twice, errant to petitioner, to sworn.
player.getGuild().upgradeGuildState(false);//to petitioner
player.getGuild().upgradeGuildState(false);//to sworn
//update state
player.getGuild().guildState = mbEnums.GuildState.Sworn;
}
-32
View File
@@ -627,38 +627,6 @@ public class Guild extends AbstractWorldObject {
}
public void upgradeGuildState(boolean nation) {
if (nation) {
this.guildState = GuildState.Nation;
return;
}
switch (this.guildState) {
case Errant:
this.guildState = GuildState.Petitioner;
break;
case Sworn:
//Can't upgrade
break;
case Protectorate:
this.guildState = GuildState.Province;
break;
case Petitioner:
this.guildState = GuildState.Sworn;
break;
case Province:
//Can't upgrade
break;
case Nation:
//Can't upgrade
break;
case Sovereign:
this.guildState = GuildState.Protectorate;
break;
}
}
public boolean canSubAGuild(Guild toSub) {
boolean canSub;