mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
small Sonar fixes
This commit is contained in:
parent
167d66fdff
commit
fed7c2b288
4 changed files with 4 additions and 7 deletions
|
|
@ -83,8 +83,7 @@ class EscapesWithEffect extends OneShotEffect {
|
|||
SpellAbility spellAbility = (SpellAbility) getValue(EntersBattlefieldEffect.SOURCE_CAST_SPELL_ABILITY);
|
||||
if (!(spellAbility instanceof EscapeAbility)
|
||||
|| !spellAbility.getSourceId().equals(source.getSourceId())
|
||||
|| permanent.getZoneChangeCounter(game) != spellAbility.getSourceObjectZoneChangeCounter()
|
||||
|| !spellAbility.getSourceId().equals(source.getSourceId())) {
|
||||
|| permanent.getZoneChangeCounter(game) != spellAbility.getSourceObjectZoneChangeCounter()) {
|
||||
return false;
|
||||
}
|
||||
List<UUID> appliedEffects = (ArrayList<UUID>) this.getValue("appliedEffects");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue