Added new constructor for mob disguise
This commit is contained in:
parent
384a20ab6e
commit
4c81ea1b95
@ -16,6 +16,10 @@ public class MobDisguise extends Disguise {
|
|||||||
this.isAdult = isAdult;
|
this.isAdult = isAdult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MobDisguise(DisguiseType disguiseType) {
|
||||||
|
this(disguiseType, true);
|
||||||
|
}
|
||||||
|
|
||||||
public MobDisguise clone() {
|
public MobDisguise clone() {
|
||||||
MobDisguise disguise = new MobDisguise(getType(), isAdult(), replaceSounds());
|
MobDisguise disguise = new MobDisguise(getType(), isAdult(), replaceSounds());
|
||||||
return disguise;
|
return disguise;
|
||||||
|
Loading…
Reference in New Issue
Block a user