From 0ca3c26ba151a5ffb77281253064fe984495fb0a Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 22 Oct 2013 07:18:17 +1300 Subject: [PATCH] Clone the armor when the flagwatcher is cloned --- src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index eb3ea188..a4a36f4e 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -61,6 +61,7 @@ public class FlagWatcher { public FlagWatcher clone() { FlagWatcher cloned = new FlagWatcher(disguise); cloned.entityValues = (HashMap) entityValues.clone(); + cloned.setArmor(items.clone()); return cloned; }