Realm count updated properly.

This commit is contained in:
2026-07-26 16:38:01 -04:00
parent 4a217d1a6b
commit 46045895d7
5 changed files with 19 additions and 23 deletions
@@ -106,6 +106,9 @@ public class DismissGuildHandler extends AbstractClientMsgHandler {
ErrorPopupMsg.sendErrorMsg(player, "A Serious error has occured. Please post details for to ensure transaction integrity");
return true;
}
if (toDismiss.guildState.equals(mbEnums.GuildState.Province))
nation.realmsOwned = nation.realmsOwned - 1;
nation.getSubGuildList().remove(toDismiss);
toDismiss.guildState = mbEnums.GuildState.Sovereign;
toDismiss.setNation(toDismiss);
@@ -131,7 +134,6 @@ public class DismissGuildHandler extends AbstractClientMsgHandler {
City.lastCityUpdate = System.currentTimeMillis();
ArrayList<PlayerCharacter> guildMembers = SessionManager.getActivePCsInGuildID(nation.getObjectUUID());
for (PlayerCharacter member : guildMembers) {