diff --git a/src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java b/src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java index 331315a7..46c77e73 100644 --- a/src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java +++ b/src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java @@ -237,12 +237,6 @@ public class Disguise { if (watcher instanceof AgeableWatcher && this instanceof MobDisguise) { ((AgeableWatcher) watcher).setValue(12, ((MobDisguise) this).isAdult() ? 0 : -23999); } - WatcherValues entity = WatcherValues.valueOf(type.name()); - WatcherValues disguise = WatcherValues.valueOf(getType().name()); - for (int i : entity.getValues()) { - if (disguise.getValue(i) != null && disguise.getValue(i).getClass() != entity.getValue(i).getClass()) - watcher.setValue(i, disguise.getValue(i)); - } } catch (Exception ex) { if (throwError) ex.printStackTrace(); @@ -252,6 +246,13 @@ public class Disguise { else watcher = new FlagWatcher(entityId); } + WatcherValues entity = WatcherValues.valueOf(getType().name()); + WatcherValues disguise = WatcherValues.valueOf(getType().name()); + for (int i : entity.getValues()) { + if (disguise.getValue(i) != null && disguise.getValue(i).getClass() != entity.getValue(i).getClass()) + // watcher.setValue(i, disguise.getValue(i)); + watcher.setValue(i, null); + } } public DisguiseType getType() {