mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix wrong activator
This commit is contained in:
committed by
Michael Kamensky
parent
53e2df8aa2
commit
cf4dbf6ed9
@@ -425,8 +425,8 @@ public final class CardUtil {
|
|||||||
if (sa.getActivatingPlayer() == null) {
|
if (sa.getActivatingPlayer() == null) {
|
||||||
sa.setActivatingPlayer(sa.getHostCard().getController());
|
sa.setActivatingPlayer(sa.getHostCard().getController());
|
||||||
}
|
}
|
||||||
final Game game = sa.getActivatingPlayer().getGame();
|
final Player activator = sa.getActivatingPlayer();
|
||||||
cards = CardLists.getValidCards(game.getCardsIn(ZoneType.Battlefield), validCard, abMana.getActivatingPlayer(), card, sa);
|
cards = CardLists.getValidCards(activator.getGame().getCardsIn(ZoneType.Battlefield), validCard, activator, card, sa);
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove anything cards that is already in parents
|
// remove anything cards that is already in parents
|
||||||
|
|||||||
Reference in New Issue
Block a user