Wynntils

Wynntils

611k Downloads

Player ghost transparency feature makes every player transparent, including NPCs, same-server players and own player

kristofbolyai opened this issue ยท 4 comments

commented
commented

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.

commented

On fabric, it does not seem to work at all, but it might be Wynncraft related.
2022-02-24_19 41 01
2022-02-24_19 40 56

EDIT: Actually am I blind and is it working? Let me test with lower transparency.

commented

Nevermind, it does actually work on Fabric. Let me get some screenshots of Forge.

commented

Forge:
2022-02-24_19 50 42
2022-02-24_19 50 47
2022-02-24_19 50 55