This commit is contained in:
Victor Shcherb 2019-03-06 01:47:07 +01:00
parent 6199a45a42
commit 3dff5cd7bb

View file

@ -262,7 +262,7 @@ public abstract class MapObject implements Comparable<MapObject> {
if (this == thatObj) {
return true;
} else {
if(this.id == null || thatObj.id == null) {
if(thatObj == null || this.id == null || thatObj.id == null) {
return false;
}
return this.id.longValue() == thatObj.id.longValue() &&