mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00: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…
Reference in a new issue