From bb15a52022f264e257044abc78cdb7414e7a5c72 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 24 Nov 2013 09:01:32 +1300 Subject: [PATCH] Moved the createDisguise in miscDisguise up to get rid of a error --- src/me/libraryaddict/disguise/disguisetypes/MiscDisguise.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/MiscDisguise.java b/src/me/libraryaddict/disguise/disguisetypes/MiscDisguise.java index 317cefaa..0ea7942f 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/MiscDisguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/MiscDisguise.java @@ -30,6 +30,7 @@ public class MiscDisguise extends Disguise { } public MiscDisguise(DisguiseType disguiseType, boolean replaceSounds, int id, int data) { + createDisguise(disguiseType, replaceSounds); switch (disguiseType) { // The only disguises which should use a custom data. case FISHING_HOOK: @@ -58,7 +59,6 @@ public class MiscDisguise extends Disguise { } } this.data = data; - createDisguise(disguiseType, replaceSounds); switch (getType()) { case DROPPED_ITEM: if (id > 0) {