forked from External/mage
minor fix (for ai)
This commit is contained in:
parent
910476da32
commit
2af92b5bc2
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class ChampionOfLambholtEffect extends RestrictionEffect<ChampionOfLambholtEffec
|
|||
@Override
|
||||
public boolean applies(Permanent permanent, Ability source, Game game) {
|
||||
Permanent sourcePermanent = game.getPermanent(source.getSourceId());
|
||||
if (sourcePermanent != null) {
|
||||
if (sourcePermanent != null && permanent != null) {
|
||||
if (permanent.getPower().getValue() < sourcePermanent.getPower().getValue()) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue