Fixed Hostage Taker exiling even when no longer on the battlefield (fixes #4844)

This commit is contained in:
Evan Kranzler 2018-04-22 12:28:50 -04:00
parent 64be0bc568
commit 163c8be934

View file

@ -119,7 +119,7 @@ class HostageTakerExileEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent card = game.getPermanent(getTargetPointer().getFirst(game, source));
Permanent permanent = game.getPermanentOrLKIBattlefield(source.getSourceId());
Permanent permanent = game.getPermanent(source.getSourceId());
if (permanent != null && card != null) {
Player controller = game.getPlayer(card.getControllerId());
if (controller != null) {