mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Another fix to PutIntoGraveFromBattlefieldAllTriggeredAbility
This commit is contained in:
parent
429f434216
commit
0f54149b00
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public class PutIntoGraveFromBattlefieldAllTriggeredAbility extends TriggeredAbi
|
|||
if (zEvent.getFromZone() == Zone.BATTLEFIELD
|
||||
&& zEvent.getToZone() == Zone.GRAVEYARD) {
|
||||
if (filter.match(zEvent.getTarget(), this.getSourceId(), this.getControllerId(), game)) {
|
||||
if(onlyToControllerGraveyard && !this.getControllerId().equals(zEvent.getPlayerId())) {
|
||||
if(onlyToControllerGraveyard && !this.getControllerId().equals(game.getOwnerId(zEvent.getTargetId()))) {
|
||||
return false;
|
||||
}
|
||||
if (setTargetPointer) {
|
||||
|
|
Loading…
Reference in a new issue