forked from External/mage
* Some refactoring.
This commit is contained in:
parent
c41b59a006
commit
6693929557
55 changed files with 439 additions and 529 deletions
|
|
@ -64,10 +64,7 @@ public class RemoveCountersSourceCost extends CostImpl {
|
|||
@Override
|
||||
public boolean canPay(Ability ability, UUID sourceId, UUID controllerId, Game game) {
|
||||
Permanent permanent = game.getPermanent(sourceId);
|
||||
if (permanent != null && permanent.getCounters(game).getCount(name) >= amount) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return permanent != null && permanent.getCounters(game).getCount(name) >= amount;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue