From a76a006065e800aee485e7dda834f3524c0cbaba Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Sat, 21 Aug 2021 17:50:36 +0400 Subject: [PATCH] [AFC] fixed Bag of Devouring - NPE on rules/database generation; --- Mage.Sets/src/mage/cards/b/BagOfDevouring.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/b/BagOfDevouring.java b/Mage.Sets/src/mage/cards/b/BagOfDevouring.java index 35ae6ebd417..0c9ebe17a67 100644 --- a/Mage.Sets/src/mage/cards/b/BagOfDevouring.java +++ b/Mage.Sets/src/mage/cards/b/BagOfDevouring.java @@ -59,7 +59,7 @@ public final class BagOfDevouring extends CardImpl { super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{B}"); // Whenever you sacrifice another nontoken artifact or creature, exile it. - this.addAbility(new SacrificePermanentTriggeredAbility(new ExileTargetForSourceEffect(), filter, true)); + this.addAbility(new SacrificePermanentTriggeredAbility(new ExileTargetForSourceEffect().setText("exile it"), filter, true)); // {2}, {T}, Sacrifice another artifact or creature: Draw a card. Ability ability = new SimpleActivatedAbility(new DrawCardSourceControllerEffect(1), new GenericManaCost(2));