From 20a7ed15daae9ebd5bb472df27f57d5226ae4cdf Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 16 Jul 2013 22:42:52 +1200 Subject: [PATCH] nvrm. cloning her hitler waz bad idea! --- src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java b/src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java index 20b8eced..2d050519 100644 --- a/src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java +++ b/src/me/libraryaddict/disguise/DisguiseTypes/Disguise.java @@ -46,7 +46,6 @@ public class Disguise { public Disguise clone() { Disguise disguise = new Disguise(getType(), replaceSounds()); - disguise.watcher = watcher.clone(); return disguise; } @@ -349,6 +348,10 @@ public class Disguise { public void setReplaceSounds(boolean areSoundsReplaced) { replaceSounds = areSoundsReplaced; } + + public void setWatcher(FlagWatcher newWatcher) { + watcher = newWatcher; + } private String toReadable(String string) { String[] strings = string.split("_");