forked from External/mage
removed autoboxing :
Boolean -> boolean Integer -> int Float -> float
This commit is contained in:
parent
4b5378c423
commit
1f215cdbe3
51 changed files with 110 additions and 110 deletions
|
|
@ -45,13 +45,13 @@ public class AbilityApplier extends ApplyToPermanent {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Boolean apply(Game game, Permanent permanent) {
|
||||
public boolean apply(Game game, Permanent permanent) {
|
||||
permanent.addAbility(ability, game);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean apply(Game game, MageObject mageObject) {
|
||||
public boolean apply(Game game, MageObject mageObject) {
|
||||
mageObject.getAbilities().add(ability);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue