Add PlayerWatcher getWatcher to PlayerDisguise. Shouldn't make problems..
This commit is contained in:
		| @@ -8,6 +8,7 @@ import org.bukkit.entity.Player; | |||||||
|  |  | ||||||
| import com.comphenix.protocol.wrappers.WrappedGameProfile; | import com.comphenix.protocol.wrappers.WrappedGameProfile; | ||||||
|  |  | ||||||
|  | import me.libraryaddict.disguise.disguisetypes.watchers.PlayerWatcher; | ||||||
| import me.libraryaddict.disguise.utilities.DisguiseUtilities; | import me.libraryaddict.disguise.utilities.DisguiseUtilities; | ||||||
| import me.libraryaddict.disguise.utilities.LibsProfileLookup; | import me.libraryaddict.disguise.utilities.LibsProfileLookup; | ||||||
| import me.libraryaddict.disguise.utilities.ReflectionManager; | import me.libraryaddict.disguise.utilities.ReflectionManager; | ||||||
| @@ -87,6 +88,11 @@ public class PlayerDisguise extends TargetedDisguise { | |||||||
|         return skinToUse; |         return skinToUse; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     @Override | ||||||
|  |     public PlayerWatcher getWatcher() { | ||||||
|  |         return (PlayerWatcher) super.getWatcher(); | ||||||
|  |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public boolean isPlayerDisguise() { |     public boolean isPlayerDisguise() { | ||||||
|         return true; |         return true; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user