mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
fixed Ixalan's Binding preventing both players from casting spells
This commit is contained in:
parent
4e194d965e
commit
e3245c496c
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ class IxalansBindingReplacementEffect extends ContinuousRuleModifyingEffectImpl
|
|||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
Permanent sourcePermanent = game.getPermanent(source.getSourceId());
|
||||
Card card = game.getCard(event.getSourceId());
|
||||
if(event.getPlayerId().equals(source.getControllerId())){
|
||||
return false;
|
||||
}
|
||||
if (sourcePermanent != null && card != null) {
|
||||
UUID exileZone = CardUtil.getExileZoneId(game, source.getSourceId(), source.getSourceObjectZoneChangeCounter());
|
||||
if (exileZone != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue