mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Fix so ETB triggers fire when use DevMode Add To Battlefield for lands
This commit is contained in:
@@ -1633,8 +1633,11 @@ public class PlayerControllerHuman extends PlayerController {
|
|||||||
final Card forgeCard = Card.fromPaperCard(c, p);
|
final Card forgeCard = Card.fromPaperCard(c, p);
|
||||||
|
|
||||||
if (c.getRules().getType().isLand()) {
|
if (c.getRules().getType().isLand()) {
|
||||||
|
game.getAction().moveToHand(forgeCard); //this is needed to ensure land abilities fire
|
||||||
game.getAction().moveToPlay(forgeCard);
|
game.getAction().moveToPlay(forgeCard);
|
||||||
} else {
|
game.getTriggerHandler().runWaitingTriggers(); //ensure triggered abilities fire
|
||||||
|
}
|
||||||
|
else {
|
||||||
final FCollectionView<SpellAbility> choices = forgeCard.getBasicSpells();
|
final FCollectionView<SpellAbility> choices = forgeCard.getBasicSpells();
|
||||||
if (choices.isEmpty()) {
|
if (choices.isEmpty()) {
|
||||||
return; // when would it happen?
|
return; // when would it happen?
|
||||||
|
|||||||
Reference in New Issue
Block a user