* Dinosaur Hunter - Fixed wrong var name.

This commit is contained in:
LevelX2 2018-03-13 16:52:37 +01:00
parent 0885ed4058
commit 537f7dd1ae

View file

@ -90,8 +90,8 @@ class DinosaurHunterAbility extends TriggeredAbilityImpl {
public boolean checkTrigger(GameEvent event, Game game) { public boolean checkTrigger(GameEvent event, Game game) {
if (event.getSourceId().equals(getSourceId())) { if (event.getSourceId().equals(getSourceId())) {
Permanent targetPermanent = game.getPermanentOrLKIBattlefield(event.getTargetId()); Permanent targetPermanent = game.getPermanentOrLKIBattlefield(event.getTargetId());
if (targetPermanet.hasSubtype(SubType.DINOSAUR, game)) { if (targetPermanent.hasSubtype(SubType.DINOSAUR, game)) {
getEffects().setTargetPointer(new FixedTarget(targetPermanet, game)); getEffects().setTargetPointer(new FixedTarget(targetPermanent, game));
return true; return true;
} }
} }