mirror of
https://github.com/songoda/UltimateModeration.git
synced 2024-11-26 12:15:14 +01:00
Cant join a staff chat you are already in.
This commit is contained in:
parent
6f1fbea067
commit
ebb80afb39
@ -28,6 +28,7 @@ public class StaffChannel {
|
||||
}
|
||||
|
||||
public void addMember(Player player) {
|
||||
if (members.contains(player.getUniqueId())) return;
|
||||
UltimateModeration.getInstance().getStaffChatManager().getChats().values().stream().forEach(members1 -> {
|
||||
if (members1.listMembers().contains(player.getUniqueId())) {
|
||||
members1.removeMember(player);
|
||||
|
Loading…
Reference in New Issue
Block a user