Fixed MobDisguise returning playerdisguise

This commit is contained in:
libraryaddict 2014-07-30 20:16:15 +12:00
parent 94f5eccba1
commit 0de45fd6b3

View File

@ -49,8 +49,8 @@ public class MobDisguise extends TargetedDisguise {
this.setReplaceSounds(replaceSounds); this.setReplaceSounds(replaceSounds);
} }
public PlayerDisguise addPlayer(Player player) { public MobDisguise addPlayer(Player player) {
return (PlayerDisguise) super.addPlayer(player); return (MobDisguise) super.addPlayer(player);
} }
public MobDisguise addPlayer(String playername) { public MobDisguise addPlayer(String playername) {