forked from External/mage
fixed an error with Enchanter's Bane
This commit is contained in:
parent
c6c3f60c21
commit
3e82ba4c2f
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class EnchantersBaneEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = game.getPermanent(source.getSourceId());
|
||||
Permanent permanent = game.getPermanent(source.getFirstTarget());
|
||||
if (permanent == null) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue