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
|
|
@ -32,7 +32,7 @@ public class SpecialActions extends AbilitiesImpl<SpecialAction> {
|
|||
LinkedHashMap<UUID, SpecialAction> controlledBy = new LinkedHashMap<>();
|
||||
for (SpecialAction action : this) {
|
||||
if (action.isControlledBy(controllerId) && action.isManaAction() == manaAction) {
|
||||
controlledBy.put(action.id, action);
|
||||
controlledBy.put(action.getId(), action);
|
||||
}
|
||||
}
|
||||
return controlledBy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue