mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Use java.util.Objects instead of the Google class.
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
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;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
||||||
@@ -381,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 (Objects.equal(controller, viewer) && getCurrentState().getYouMayLook()) {
|
if (Objects.equals(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