From 4c81ea1b95400b3ab1cfbfc5dce0c9ef526d8077 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 24 Jul 2013 15:57:16 +1200 Subject: [PATCH] Added new constructor for mob disguise --- src/me/libraryaddict/disguise/DisguiseTypes/MobDisguise.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/me/libraryaddict/disguise/DisguiseTypes/MobDisguise.java b/src/me/libraryaddict/disguise/DisguiseTypes/MobDisguise.java index e6e16d66..e65af4f4 100644 --- a/src/me/libraryaddict/disguise/DisguiseTypes/MobDisguise.java +++ b/src/me/libraryaddict/disguise/DisguiseTypes/MobDisguise.java @@ -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;