Holographic Displays

Holographic Displays

3M Downloads

hideTo not doing anything

CptnDaddy opened this issue ยท 0 comments

commented

Hi, I am trying to show holograms to specific players and showing them is no problem but when I try to hide them it just does nothing? It doesn't throw an exception, it just doesn't work at all. I've tested it in many possible ways thinking it was a logic error on my part but it's not.

public void hideFromPlayer(final Player player) {
        players.remove(player);

        for (final Hologram h : holograms.values()) {
        	h.getVisibilityManager().hideTo(player);
        }
    }