mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
limit check to hand
This commit is contained in:
@@ -366,7 +366,7 @@ public abstract class VCardDisplayArea extends VDisplayArea implements ActivateH
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean selectCard(boolean selectEntireStack) {
|
public boolean selectCard(boolean selectEntireStack) {
|
||||||
if (!getCard().getController().equals(MatchController.instance.getCurrentPlayer()) && !ZoneType.Battlefield.equals(getCard().getZone())) {
|
if (!getCard().getController().equals(MatchController.instance.getCurrentPlayer()) && !ZoneType.Hand.equals(getCard().getZone())) {
|
||||||
if (getCard().mayPlayerLook(MatchController.instance.getCurrentPlayer())) { // can see the card, check if can play...
|
if (getCard().mayPlayerLook(MatchController.instance.getCurrentPlayer())) { // can see the card, check if can play...
|
||||||
if (!getCard().getMayPlayPlayers(MatchController.instance.getCurrentPlayer()))
|
if (!getCard().getMayPlayPlayers(MatchController.instance.getCurrentPlayer()))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user