184185186187188189190191192193194
if (group.isFull()) { player.sendPrivateText(NotificationType.ERROR, "The group is already full."); return; } group.addMember(player.getName()); } /** * changes the leadership of the group