The disguiser is a pervert sometimes too ;D Let him see some action

This commit is contained in:
Andrew 2013-08-09 23:16:23 +12:00
parent a6a658003d
commit 0ae9a0a77a

View File

@ -175,7 +175,7 @@ public class FlagWatcher {
mods.write(1, list); mods.write(1, list);
for (EntityPlayer player : disguise.getPerverts()) { for (EntityPlayer player : disguise.getPerverts()) {
Player p = player.getBukkitEntity(); Player p = player.getBukkitEntity();
if (p != entity) { if (DisguiseAPI.viewDisguises() || p != entity) {
try { try {
ProtocolLibrary.getProtocolManager().sendServerPacket(p, packet); ProtocolLibrary.getProtocolManager().sendServerPacket(p, packet);
} catch (InvocationTargetException e) { } catch (InvocationTargetException e) {