mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Fix assumed player self disguise when doing exp orb, fixes #519
This commit is contained in:
parent
f7c2d18937
commit
a9bec1ef93
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ public abstract class Disguise {
|
||||||
for (Player player : DisguiseUtilities.getPerverts(disguise)) {
|
for (Player player : DisguiseUtilities.getPerverts(disguise)) {
|
||||||
if (getEntity() != player) {
|
if (getEntity() != player) {
|
||||||
ProtocolLibrary.getProtocolManager().sendServerPacket(player, packet, false);
|
ProtocolLibrary.getProtocolManager().sendServerPacket(player, packet, false);
|
||||||
} else if (!isSelfDisguiseVisible()) {
|
} else if (!isSelfDisguiseVisible() || !(getEntity() instanceof Player)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue