1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-05 09:12:29 -09:00

minor fix

This commit is contained in:
Loki 2011-11-20 00:45:58 +04:00
parent cd8f0ae2fe
commit 1b7f94970f

View file

@ -96,6 +96,7 @@ class LeaveNoTraceEffect extends OneShotEffect<LeaveNoTraceEffect> {
Permanent target = game.getPermanent(targetPointer.getFirst(source));
if (target != null) {
ObjectColor color = target.getColor();
target.destroy(source.getSourceId(), game, false);
for (Permanent p : game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game)) {
if (p.getColor().shares(color)) {
p.destroy(source.getSourceId(), game, false);