mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
- Fixed Rivals' Duel
This commit is contained in:
parent
a7acaefb4a
commit
ac4e51ce0d
2 changed files with 12 additions and 4 deletions
|
|
@ -35,7 +35,8 @@ public class TargetCreaturePermanentWithDifferentTypes extends TargetCreaturePer
|
|||
for (Object object : getTargets()) {
|
||||
UUID targetId = (UUID) object;
|
||||
Permanent selectedCreature = game.getPermanent(targetId);
|
||||
if (!creature.getId().equals(selectedCreature.getId())) {
|
||||
if (selectedCreature != null
|
||||
&& !creature.getId().equals(selectedCreature.getId())) {
|
||||
if (creature.shareSubtypes(selectedCreature, game)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue