mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 02:52:02 -08:00
Merge fix
This commit is contained in:
parent
ddc1ec8ef8
commit
202f4b5112
1 changed files with 1 additions and 1 deletions
|
|
@ -25,11 +25,11 @@ public class Targets extends ArrayList<Target> implements Copyable<Targets> {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Targets(final Targets targets) {
|
protected Targets(final Targets targets) {
|
||||||
this.isReadOnly = targets.isReadOnly;
|
|
||||||
this.ensureCapacity(targets.size());
|
this.ensureCapacity(targets.size());
|
||||||
for (Target target : targets) {
|
for (Target target : targets) {
|
||||||
this.add(target.copy());
|
this.add(target.copy());
|
||||||
}
|
}
|
||||||
|
this.isReadOnly = targets.isReadOnly;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Targets withReadOnly() {
|
public Targets withReadOnly() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue