forked from External/mage
cleanup access to fields in AbilityImpl
where trivially possible, make private and use getters
This commit is contained in:
parent
4bef01901d
commit
a768a4dd8a
23 changed files with 53 additions and 53 deletions
|
|
@ -153,7 +153,7 @@ public class ConspireAbility extends StaticAbility implements OptionalAdditional
|
|||
public ConspireAbility setAddedById(UUID addedById) {
|
||||
this.addedById = addedById;
|
||||
CardUtil.castStream(
|
||||
this.subAbilities.stream(),
|
||||
this.getSubAbilities().stream(),
|
||||
ConspireTriggeredAbility.class
|
||||
).forEach(ability -> ability.setAddedById(addedById));
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue