From 0de45fd6b3b67547566099f9fd2f617581e00222 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Wed, 30 Jul 2014 20:16:15 +1200 Subject: [PATCH] Fixed MobDisguise returning playerdisguise --- src/me/libraryaddict/disguise/disguisetypes/MobDisguise.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/MobDisguise.java b/src/me/libraryaddict/disguise/disguisetypes/MobDisguise.java index 9a6f1f2c..89c361fe 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/MobDisguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/MobDisguise.java @@ -49,8 +49,8 @@ public class MobDisguise extends TargetedDisguise { this.setReplaceSounds(replaceSounds); } - public PlayerDisguise addPlayer(Player player) { - return (PlayerDisguise) super.addPlayer(player); + public MobDisguise addPlayer(Player player) { + return (MobDisguise) super.addPlayer(player); } public MobDisguise addPlayer(String playername) {