mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38: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;
|
||||
|
||||
import com.google.common.base.Objects;
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
@@ -381,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 (Objects.equal(controller, viewer) && getCurrentState().getYouMayLook()) {
|
||||
if (Objects.equals(controller, viewer) && getCurrentState().getYouMayLook()) {
|
||||
return true;
|
||||
}
|
||||
if (controller.isOpponentOf(viewer) && getCurrentState().getOpponentMayLook()) {
|
||||
|
||||
Reference in New Issue
Block a user