Return a miscDisguise not playerdisguise when calling addplayer on miscdisguise

This commit is contained in:
libraryaddict 2014-07-30 19:53:44 +12:00
parent d7834e467f
commit 94f5eccba1

View File

@ -105,8 +105,8 @@ public class MiscDisguise extends TargetedDisguise {
this(DisguiseType.getType(disguiseType), id, data);
}
public PlayerDisguise addPlayer(Player player) {
return (PlayerDisguise) super.addPlayer(player);
public MiscDisguise addPlayer(Player player) {
return (MiscDisguise) super.addPlayer(player);
}
public MiscDisguise addPlayer(String playername) {