From 189d0624e78e8d326e3e513909549d4fa7967ae9 Mon Sep 17 00:00:00 2001 From: fatboy Date: Sat, 20 Apr 2024 00:44:30 -0500 Subject: [PATCH] grouping restriction update --- src/engine/objects/Guild.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Guild.java b/src/engine/objects/Guild.java index cfcfe83d..7bf7939e 100644 --- a/src/engine/objects/Guild.java +++ b/src/engine/objects/Guild.java @@ -667,6 +667,9 @@ public class Guild extends AbstractWorldObject { pc.incVer(); DispatchMessage.sendToAllInRange(pc, new GuildInfoMsg(pc, Guild.getErrantGuild(), 2)); + if(GroupManager.getGroup(pc) != null) + GroupManager.getGroup(pc).removeGroupMember(pc); + } public void upgradeGuildState(boolean nation) {