mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
Added Enter & Leave Messages for ChatRooms as well as info stats for the
room
This commit is contained in:
@@ -879,6 +879,11 @@ public class PlayerObject extends IntangibleObject {
|
||||
}
|
||||
|
||||
public boolean isMemberOfChannel(int roomId) {
|
||||
return chatChannels.contains(roomId);
|
||||
if (chatChannels.contains(roomId)) {
|
||||
System.out.println("Member of the channel!");
|
||||
return true;
|
||||
}
|
||||
System.out.println("Not a Member of the channel!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user