Fixed equal or == errors -- 23 cards and more (see #4407)

This commit is contained in:
Oleg Agafonov 2018-04-28 21:24:48 +04:00
parent 15fa8fa124
commit c24ba742f6
36 changed files with 115 additions and 75 deletions

View file

@ -757,8 +757,8 @@ public class GameState implements Serializable, Copyable<GameState> {
ZoneChangeData data = (ZoneChangeData) obj;
return this.fromZone == data.fromZone
&& this.toZone == data.toZone
&& this.sourceId == data.sourceId
&& this.playerId == data.playerId;
&& Objects.equals(this.sourceId, data.sourceId)
&& Objects.equals(this.playerId, data.playerId);
}
return false;
}