Added missing fields to many copy constructors. (#8957)

This commit is contained in:
Alex Vasile 2022-05-25 09:51:18 -06:00 committed by GitHub
parent d061526924
commit 82708e4273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 813 additions and 599 deletions

View file

@ -42,9 +42,7 @@ public abstract class EffectImpl implements Effect {
if (effect.values != null) {
values = new HashMap<>();
Map<String, Object> map = effect.values;
for (Map.Entry<String, Object> entry : map.entrySet()) {
values.put(entry.getKey(), entry.getValue());
}
values.putAll(map);
}
}