mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-14 04:38:11 +00:00
Clone the armor when the flagwatcher is cloned
This commit is contained in:
parent
249366cb2b
commit
0ca3c26ba1
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue