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
@@ -878,7 +878,8 @@ public class PlayerObject extends IntangibleObject {
}
public void removeChannel(int roomId) {
chatChannels.remove(roomId);
if (chatChannels.contains(roomId))
chatChannels.remove(roomId);
}
public boolean isMemberOfChannel(int roomId) {