-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support to hide Vanished players from Teams #1499
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a Util class method that I'd prefer to be used in here somewhere - Util.getOnlinePlayerList(User user)
will provide a list of visible players for that user.
Requires re-approval after changes made |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good intent, and thanks for your work, but I find the changes a bit confusing. I've pinpointed that in my review comments. Have a look at them, please.
src/main/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamCommand.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much better!
Thanks for your quick changes.
@tastybento Please review, and I'll merge the changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
Added player.CanSee(Player) to check if player is hidden by vanish plugin,
Added custom layout to support hiding offline times for Coop & trusted roles as these roles do not have to be accepted by the recipient.