- Attempt to fix Courser of Kruphix and friends not revealing the cards in game 2+ of the match.

This commit is contained in:
Agetian
2015-05-23 13:54:33 +00:00
parent ab03da16a0
commit 069d8a5b00

View File

@@ -1,5 +1,6 @@
package forge.game.card;
import com.google.common.base.Objects;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.List;
@@ -380,7 +381,7 @@ public class CardView extends GameEntityView {
case Library:
case PlanarDeck:
//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;
}
if (controller.isOpponentOf(viewer) && getCurrentState().getOpponentMayLook()) {