Player ghost transparency feature makes every player transparent, including NPCs, same-server players and own player
kristofbolyai opened this issue ยท 4 comments
It works for me on fabric. Note that the code governing this is
private static final Pattern PLAYER_GHOST_REGEX = Pattern.compile("_\\d+");
public static boolean isPlayerGhost(Player player) {
Team team = player.getTeam();
if (team == null) return false;
return PLAYER_GHOST_REGEX.matcher(team.getName()).find();
}
Perhaps a patch changes it on forge.
Nevermind, it does actually work on Fabric. Let me get some screenshots of Forge.