mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Attempt to fix Courser of Kruphix and friends not revealing the cards in game 2+ of the match.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package forge.game.card;
|
package forge.game.card;
|
||||||
|
|
||||||
|
import com.google.common.base.Objects;
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -380,7 +381,7 @@ public class CardView extends GameEntityView {
|
|||||||
case Library:
|
case Library:
|
||||||
case PlanarDeck:
|
case PlanarDeck:
|
||||||
//cards in these zones are hidden to all unless they specify otherwise
|
//cards in these zones are hidden to all unless they specify otherwise
|
||||||
if (controller == viewer && getCurrentState().getYouMayLook()) {
|
if (Objects.equal(controller, viewer) && getCurrentState().getYouMayLook()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (controller.isOpponentOf(viewer) && getCurrentState().getOpponentMayLook()) {
|
if (controller.isOpponentOf(viewer) && getCurrentState().getOpponentMayLook()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user