From 18ca5e2699cf8876466ccd493b0b13e43ac5cbe6 Mon Sep 17 00:00:00 2001 From: melvin Date: Sun, 7 Oct 2012 17:02:15 +0800 Subject: [PATCH] rename data to died --- src/magic/card/Sylvok_Lifestaff.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/magic/card/Sylvok_Lifestaff.java b/src/magic/card/Sylvok_Lifestaff.java index 9000f35f09..0c21d3cd99 100644 --- a/src/magic/card/Sylvok_Lifestaff.java +++ b/src/magic/card/Sylvok_Lifestaff.java @@ -9,8 +9,8 @@ import magic.model.trigger.MagicWhenOtherPutIntoGraveyardFromPlayTrigger; public class Sylvok_Lifestaff { public static final MagicWhenOtherPutIntoGraveyardFromPlayTrigger T = new MagicWhenOtherPutIntoGraveyardFromPlayTrigger() { @Override - public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent data) { - return (permanent.getEquippedCreature()==data) ? + public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent died) { + return (permanent.getEquippedCreature()==died) ? new MagicEvent( permanent, this,