Add PlayerWatcher getWatcher to PlayerDisguise. Shouldn't make problems..

This commit is contained in:
libraryaddict 2014-09-05 22:31:16 +12:00
parent c7607abdc2
commit e09bd27bbd

View File

@ -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;