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