Merge pull request #7151 from weirddan455/temporal-aperture-fix

Allow Temporal Aperture to play lands off the top of the library (bug #7141)
This commit is contained in:
Oleg Agafonov 2020-11-01 10:23:16 +01:00 committed by GitHub
commit 432d0ade25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,7 +120,7 @@ class TemporalApertureTopCardCastEffect extends AsThoughEffectImpl {
if (controller != null
&& game.getState().getZone(objectId) == Zone.LIBRARY) {
if (controller.getLibrary().getFromTop(game).equals(card)) {
if (objectCard == card && objectCard.getSpellAbility() != null) { // only if castable
if (objectCard == card && (objectCard.getSpellAbility() != null || objectCard.isLand())) { // only if castable or land
allowCardToPlayWithoutMana(objectId, source, affectedControllerId, game);
return true;
}