mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
more fixes
This commit is contained in:
parent
c61881e5df
commit
58c4ae1f38
12 changed files with 43 additions and 29 deletions
|
|
@ -94,7 +94,7 @@ public class CantTargetControlledEffect extends ReplacementEffectImpl<CantTarget
|
|||
if (filterSource == null)
|
||||
return true;
|
||||
else {
|
||||
StackObject sourceObject = game.getStack().getStackObject(source.getSourceId());
|
||||
StackObject sourceObject = game.getStack().getStackObject(event.getSourceId());
|
||||
if (sourceObject != null && filterSource.match(sourceObject)) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue