Added a fix for players who can't see other players
This commit is contained in:
parent
89fdbad410
commit
d55f718a8a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user