player.sendPrivateText(NotificationType.ERROR, "Your group is already full.");
return;
}
// invite
group.invite(player, targetPlayer);
player.sendPrivateText("You have invited " + targetPlayer.getName() + " to join your group.");
}
/**
* joins a group