diff --git a/src/me/libraryaddict/disguise/DisguiseAPI.java b/src/me/libraryaddict/disguise/DisguiseAPI.java index f86f5413..f1c9d7c2 100644 --- a/src/me/libraryaddict/disguise/DisguiseAPI.java +++ b/src/me/libraryaddict/disguise/DisguiseAPI.java @@ -153,6 +153,8 @@ public class DisguiseAPI { Iterator itel = entry.trackedPlayers.iterator(); while (itel.hasNext()) { EntityPlayer player = (EntityPlayer) itel.next(); + if (entity instanceof Player && !player.getBukkitEntity().canSee((Player) entity)) + continue; entry.clear(player); entry.updatePlayer(player); }