mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
fixed bug in Maralen of the Mornsong effect only applying to owner
This commit is contained in:
parent
96fe50cebe
commit
de1f8271ae
1 changed files with 2 additions and 1 deletions
|
|
@ -126,7 +126,8 @@ class MaralenOfTheMornsongEffect2 extends OneShotEffect {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
Player player = game.getPlayer(source.getControllerId());
|
UUID activePlayerId = game.getActivePlayerId();
|
||||||
|
Player player = game.getPlayer(activePlayerId);
|
||||||
if (player != null) {
|
if (player != null) {
|
||||||
player.loseLife(3, game);
|
player.loseLife(3, game);
|
||||||
TargetCardInLibrary target = new TargetCardInLibrary();
|
TargetCardInLibrary target = new TargetCardInLibrary();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue