mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-11-11 01:17:16 +00:00
Added new constructor for mob disguise
This commit is contained in:
parent
384a20ab6e
commit
4c81ea1b95
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue