From 28f70c196381b383adf4f3a7dfdec7561b0718fb Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Wed, 9 Apr 2014 22:04:18 +1200 Subject: [PATCH] Fixed self disguises and player disguise falling out of sync --- src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index e523860e..ba865d9d 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -324,6 +324,9 @@ public class DisguiseUtilities { } if (DisguiseUtilities.isDisguiseInUse(disguise)) { DisguiseUtilities.refreshTrackers((TargetedDisguise) disguise); + if (disguise.getEntity() instanceof Player && disguise.isSelfDisguiseVisible()) { + DisguiseUtilities.sendSelfDisguise((Player) disguise.getEntity()); + } } } }