leaveChatChannel removes from list of players channels

This commit is contained in:
Waverunner
2014-04-18 18:14:59 -04:00
parent bcbcbde34a
commit b6158a4014
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -968,6 +968,8 @@ public class ChatService implements INetworkDispatch {
roomPlayer.getClient().getSession().write(leaveRoom.serialize());
}
});
((PlayerObject) player.getSlottedObject("ghost")).removeChannel(roomId);
}
public void sendChatRoomMessage(CreatureObject sender, int roomId, int msgId, String message) {