forked from External/mage
cleaned up some methods for effects and abilities
This commit is contained in:
parent
2a42bec1f2
commit
707de23436
2 changed files with 27 additions and 36 deletions
|
|
@ -181,6 +181,8 @@ public class Effects extends ArrayList<Effect> {
|
|||
}
|
||||
|
||||
public void setValue(String key, Object value) {
|
||||
this.stream().forEach(effect -> effect.setValue(key, value));
|
||||
for (Effect effect : this) {
|
||||
effect.setValue(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue