mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed Yannik, Scavenging Sentinel
This commit is contained in:
parent
7e38ed9c94
commit
06866b5e50
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class YannikScavengingSentinelEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
Permanent sourcePermanent = game.getPermanent(source.getControllerId());
|
||||
Permanent sourcePermanent = game.getPermanent(source.getSourceId());
|
||||
if (player == null || sourcePermanent == null
|
||||
|| game.getBattlefield().count(filter, source.getSourceId(), source.getControllerId(), game) < 1) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue