@ -14,6 +14,7 @@ import engine.Enum.GuildHistoryType;
@@ -14,6 +14,7 @@ import engine.Enum.GuildHistoryType;
import engine.exception.MsgSendException ;
import engine.gameManager.ChatManager ;
import engine.gameManager.DbManager ;
import engine.gameManager.GroupManager ;
import engine.gameManager.SessionManager ;
import engine.net.Dispatch ;
import engine.net.DispatchMessage ;
@ -116,6 +117,8 @@ public class BanishUnbanishHandler extends AbstractClientMsgHandler {
@@ -116,6 +117,8 @@ public class BanishUnbanishHandler extends AbstractClientMsgHandler {
GuildListMsg guildListMsg = new GuildListMsg ( guild ) ;
dispatch = Dispatch . borrow ( source , guildListMsg ) ;
DispatchMessage . dispatchMsgDispatch ( dispatch , Enum . DispatchChannel . SECONDARY ) ;
if ( GroupManager . getGroup ( target ) ! = null )
GroupManager . removeFromGroups ( PlayerCharacter . getFromCache ( target ) ) ;
} else {
ErrorPopupMsg . sendErrorPopup ( source , 103 ) ; // You may not banish this char
}