From e09bd27bbd5fa81e2f4644e641a045e2547a9b38 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 5 Sep 2014 22:31:16 +1200 Subject: [PATCH] Add PlayerWatcher getWatcher to PlayerDisguise. Shouldn't make problems.. --- .../disguise/disguisetypes/PlayerDisguise.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java b/src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java index 6ec7a763..e5472d68 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java @@ -8,6 +8,7 @@ import org.bukkit.entity.Player; import com.comphenix.protocol.wrappers.WrappedGameProfile; +import me.libraryaddict.disguise.disguisetypes.watchers.PlayerWatcher; import me.libraryaddict.disguise.utilities.DisguiseUtilities; import me.libraryaddict.disguise.utilities.LibsProfileLookup; import me.libraryaddict.disguise.utilities.ReflectionManager; @@ -87,6 +88,11 @@ public class PlayerDisguise extends TargetedDisguise { return skinToUse; } + @Override + public PlayerWatcher getWatcher() { + return (PlayerWatcher) super.getWatcher(); + } + @Override public boolean isPlayerDisguise() { return true;