Fixed MobDisguise returning playerdisguise
This commit is contained in:
parent
94f5eccba1
commit
0de45fd6b3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user