mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Revert Adventure/Omen PermanentView changes
This commit is contained in:
parent
7c19a789e1
commit
a1d88e34b0
1 changed files with 0 additions and 6 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
package mage.view;
|
package mage.view;
|
||||||
|
|
||||||
import mage.cards.Card;
|
import mage.cards.Card;
|
||||||
import mage.cards.CardWithSpellOption;
|
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.game.permanent.PermanentToken;
|
import mage.game.permanent.PermanentToken;
|
||||||
|
|
@ -81,11 +80,6 @@ public class PermanentView extends CardView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// for adventure/omen cards, remove spell card rules
|
|
||||||
if (card instanceof CardWithSpellOption) {
|
|
||||||
this.rules.removeIf(rule -> rule.startsWith("Adventure") || rule.startsWith("Omen"));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (permanent.getOwnerId() != null && !permanent.getOwnerId().equals(permanent.getControllerId())) {
|
if (permanent.getOwnerId() != null && !permanent.getOwnerId().equals(permanent.getControllerId())) {
|
||||||
Player owner = game.getPlayer(permanent.getOwnerId());
|
Player owner = game.getPlayer(permanent.getOwnerId());
|
||||||
if (owner != null) {
|
if (owner != null) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue