Added new constructor for mob disguise

This commit is contained in:
Andrew 2013-07-24 15:57:16 +12:00
parent 384a20ab6e
commit 4c81ea1b95

View file

@ -16,6 +16,10 @@ public class MobDisguise extends Disguise {
this.isAdult = isAdult;
}
public MobDisguise(DisguiseType disguiseType) {
this(disguiseType, true);
}
public MobDisguise clone() {
MobDisguise disguise = new MobDisguise(getType(), isAdult(), replaceSounds());
return disguise;