mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fix
This commit is contained in:
parent
42c2888340
commit
080e2c6238
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class ThrummingbirdTriggeredAbility extends TriggeredAbilityImpl<ThrummingbirdTr
|
||||||
if (event instanceof DamagedPlayerEvent) {
|
if (event instanceof DamagedPlayerEvent) {
|
||||||
DamagedPlayerEvent damageEvent = (DamagedPlayerEvent) event;
|
DamagedPlayerEvent damageEvent = (DamagedPlayerEvent) event;
|
||||||
Permanent p = game.getPermanent(event.getSourceId());
|
Permanent p = game.getPermanent(event.getSourceId());
|
||||||
if (damageEvent.isCombatDamage() && p != null && p.getId().equals(event.getSourceId())) {
|
if (damageEvent.isCombatDamage() && p != null && p.getId().equals(this.getSourceId())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue