I’m porting a plugin from Bukkit and I need to hide a specific player from an other specific player.
Is there any alternative to Bukkit’s Player.hidePlayer(Player) and Bukkit’s Player.showPlayer(Player)?
I noticed that the Entity interface contains a canSee(Entity) method that checks if the entity has a VANISH key but that key will make the entity invisible to everybody and not just to a player…