forked from External/mage
Replaced use of source.getId() by source.getSourceId() for Mage Framework.
This commit is contained in:
parent
8b4c454f1f
commit
3bbbd4c02b
33 changed files with 47 additions and 45 deletions
|
|
@ -85,7 +85,7 @@ public class DamageControllerEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
if (player != null) {
|
||||
player.damage(amount.calculate(game, source), source.getId(), game, false, preventable);
|
||||
player.damage(amount.calculate(game, source), source.getSourceId(), game, false, preventable);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue