mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Merge pull request #4605 from rscoates/patch-1
Update DinosaurHunter.java
This commit is contained in:
commit
0885ed4058
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class DinosaurHunterAbility extends TriggeredAbilityImpl {
|
||||||
@Override
|
@Override
|
||||||
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 targetPermanet = game.getPermanentOrLKIBattlefield(event.getTargetId());
|
Permanent targetPermanent = game.getPermanentOrLKIBattlefield(event.getTargetId());
|
||||||
if (targetPermanet.hasSubtype(SubType.DINOSAUR, game)) {
|
if (targetPermanet.hasSubtype(SubType.DINOSAUR, game)) {
|
||||||
getEffects().setTargetPointer(new FixedTarget(targetPermanet, game));
|
getEffects().setTargetPointer(new FixedTarget(targetPermanet, game));
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue