Clone the armor when the flagwatcher is cloned

This commit is contained in:
Andrew 2013-10-22 07:18:17 +13:00
parent 249366cb2b
commit 0ca3c26ba1

View File

@ -61,6 +61,7 @@ public class FlagWatcher {
public FlagWatcher clone() {
FlagWatcher cloned = new FlagWatcher(disguise);
cloned.entityValues = (HashMap<Integer, Object>) entityValues.clone();
cloned.setArmor(items.clone());
return cloned;
}