Return a miscDisguise not playerdisguise when calling addplayer on miscdisguise
This commit is contained in:
parent
d7834e467f
commit
94f5eccba1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user