Skip to content

Conversation

@theShadowsDust
Copy link
Collaborator

Description

This Pull Request replaces the generic in the vanish service with uuid based methods.

Submitter Checklist

  • Make sure you are opening from a topic branch (/feature/fix/docs/ branch (right side)) and not your main branch.
  • Ensure that the pull request title represents the desired changelog entry.
  • New public fields and methods are annotated with @since TODO.
  • I read and followed the contribution guidelines.

@theShadowsDust theShadowsDust requested a review from a team as a code owner January 24, 2026 23:31
@github-actions
Copy link

Code Coverage

Overall Project 0% -4.93%
Files changed 0%

File Coverage
UserService.java 0% 🍏
LuckPermsService.java 0% -14.86%
BukkitPlayerVanishService.java 0% -29.75%
DelegatedBlueMapVanishService.java 0% -94.2%
VanishCommand.java 0% -7.54%
PlayerAdvancementListener.java 0% -38.1%
PlayerVanishListener.java 0% -2.4%
PlayerConnectionListener.java 0% -8.67%
VanishNoPacketListener.java 0% -10.96%
VanishSilentContainerFeature.java 0% -8.42%

Comment on lines +57 to +59
boolean canSee(UUID viewerId, UUID targetId);

boolean isVanishPermitted(P player);
boolean isVanishPermitted(UUID playerId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing docs

public class BukkitPlayerVanishService implements PlayerVanishService<Player> {
import java.util.UUID;

public class BukkitPlayerVanishService implements PlayerVanishService {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be final if this no api

if (player == null) return;

plugin.getServer().getScheduler().getMainThreadExecutor(plugin)
.execute(() -> plugin.getServer().getOnlinePlayers().forEach(onlinePlayer -> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you use stream you can cleanup the loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants