From 5f69b11ab49101955fbaa6a5eebcd11c71ba79e4 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 26 Apr 2014 15:34:48 +1200 Subject: [PATCH] Add another check --- src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 78dc2bc6..ac9bb70c 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -557,7 +557,7 @@ public class DisguiseUtilities { */ public static void sendSelfDisguise(final Player player, final Disguise disguise) { try { - if (!player.isValid() || !player.isOnline()) { + if (!player.isValid() || !player.isOnline() || !disguise.isSelfDisguiseVisible()) { return; } Object world = ReflectionManager.getWorld(player.getWorld());