mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
leaveChatChannel removes from list of players channels
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user