mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Check controller of a mana ability in canPlay so Humans can't tap AIs land
This commit is contained in:
@@ -349,7 +349,11 @@ abstract public class Ability_Mana extends SpellAbility implements java.io.Seria
|
||||
@Override
|
||||
public boolean canPlay() {
|
||||
Card card = getSourceCard();
|
||||
if(card.isCreature() == true) {
|
||||
|
||||
if (card.getController().isComputer())
|
||||
return false;
|
||||
|
||||
if(card.isCreature()) {
|
||||
|
||||
CardList Silence = AllZoneUtil.getPlayerCardsInPlay(card.getController().getOpponent());
|
||||
Silence = Silence.getName("Linvala, Keeper of Silence");
|
||||
|
||||
Reference in New Issue
Block a user