forked from External/mage
refactored Player.gainLife() to include source
This commit is contained in:
parent
254935da39
commit
3798f34c38
209 changed files with 221 additions and 218 deletions
|
|
@ -71,7 +71,7 @@ public class GainLifeTargetEffect extends OneShotEffect {
|
|||
for (UUID playerId: targetPointer.getTargets(game, source)) {
|
||||
Player player = game.getPlayer(playerId);
|
||||
if (player != null) {
|
||||
player.gainLife(life.calculate(game, source, this), game);
|
||||
player.gainLife(life.calculate(game, source, this), game, source);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue