fixed Yannik, Scavenging Sentinel

This commit is contained in:
Evan Kranzler 2020-04-29 22:18:55 -04:00
parent 7e38ed9c94
commit 06866b5e50

View file

@ -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;