Clone the armor when the flagwatcher is cloned
This commit is contained in:
parent
249366cb2b
commit
0ca3c26ba1
@ -61,6 +61,7 @@ public class FlagWatcher {
|
|||||||
public FlagWatcher clone() {
|
public FlagWatcher clone() {
|
||||||
FlagWatcher cloned = new FlagWatcher(disguise);
|
FlagWatcher cloned = new FlagWatcher(disguise);
|
||||||
cloned.entityValues = (HashMap<Integer, Object>) entityValues.clone();
|
cloned.entityValues = (HashMap<Integer, Object>) entityValues.clone();
|
||||||
|
cloned.setArmor(items.clone());
|
||||||
return cloned;
|
return cloned;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user