From 50c25ea38e1d1077226310f797ff69df83d50d17 Mon Sep 17 00:00:00 2001 From: Ryan McLeod Date: Sun, 16 Apr 2017 18:03:01 -0400 Subject: [PATCH] Fix Trespasser's Curse triggering on all permanents --- Mage.Sets/src/mage/cards/t/TrespassersCurse.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/t/TrespassersCurse.java b/Mage.Sets/src/mage/cards/t/TrespassersCurse.java index e817f719e2..659e3dcdea 100644 --- a/Mage.Sets/src/mage/cards/t/TrespassersCurse.java +++ b/Mage.Sets/src/mage/cards/t/TrespassersCurse.java @@ -100,7 +100,8 @@ class TrespassersCurseTriggeredAbility extends TriggeredAbilityImpl { Permanent enchantment = game.getPermanent(this.getSourceId()); if (enchantment != null && enchantment.getAttachedTo() != null - && game.getControllerId(event.getSourceId()).equals(enchantment.getAttachedTo())) { + && game.getControllerId(event.getSourceId()).equals(enchantment.getAttachedTo()) + && game.getPermanent(this.getSourceId()).isCreature()) { for (Effect effect : this.getEffects()) { effect.setTargetPointer(new FixedTarget(enchantment.getAttachedTo())); }