diff --git a/src/main/java/com/songoda/ultimatemoderation/staffchat/StaffChannel.java b/src/main/java/com/songoda/ultimatemoderation/staffchat/StaffChannel.java index bbd8d3e..0547bb4 100644 --- a/src/main/java/com/songoda/ultimatemoderation/staffchat/StaffChannel.java +++ b/src/main/java/com/songoda/ultimatemoderation/staffchat/StaffChannel.java @@ -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);