Fixed sourceId reference of Strip Bare.

This commit is contained in:
LevelX2 2013-12-05 08:02:08 +01:00
parent e5106cc3f4
commit 570cfe242b

View file

@ -98,10 +98,10 @@ class StripBareEffect extends OneShotEffect<StripBareEffect> {
for (Permanent attachment : game.getBattlefield().getAllActivePermanents(filter, game)) {
if (attachment != null
&& targetCreature.getAttachments().contains(attachment.getId())) {
applied = attachment.destroy(source.getId(), game, false);
applied = attachment.destroy(source.getSourceId(), game, false);
}
}
}
return applied;
}
}
}