From dd67682c12ceaefaf2679b8b0e78a51c15a03e3c Mon Sep 17 00:00:00 2001 From: Grath <1895280+Grath@users.noreply.github.com> Date: Fri, 22 Aug 2025 12:15:29 -0400 Subject: [PATCH] Make Tree of Perdition's effect check to make sure that it's a creature before swapping toughness, because noncreatures do not have toughness. --- Mage.Sets/src/mage/cards/t/TreeOfPerdition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/t/TreeOfPerdition.java b/Mage.Sets/src/mage/cards/t/TreeOfPerdition.java index 07de60bce02..d3d755cda2d 100644 --- a/Mage.Sets/src/mage/cards/t/TreeOfPerdition.java +++ b/Mage.Sets/src/mage/cards/t/TreeOfPerdition.java @@ -63,7 +63,7 @@ class TreeOfPerditionEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { Player opponent = game.getPlayer(source.getFirstTarget()); Permanent perm = game.getPermanent(source.getSourceId()); - if (perm == null || opponent == null || !opponent.isLifeTotalCanChange()) { + if (perm == null || opponent == null || !opponent.isLifeTotalCanChange() || !perm.isCreature()) { return false; }