player.sendPrivateText(NotificationType.ERROR, targetPlayer + " is not a member of your group.");
return;
}
// tell the members of the kick and remove the target player
group.sendGroupMessage("Group", targetPlayer + " was kicked by " + player.getName());
group.removeMember(targetPlayer);
}
/**
* sends an error messages on invalid an actions