Fix #3481
This commit is contained in:
parent
6d2d9b1d94
commit
115efbe113
1 changed files with 3 additions and 0 deletions
|
@ -198,6 +198,9 @@ public class SearchUICore {
|
|||
String type2 = a2.getType().getKeyName();
|
||||
String subType1 = a1.getSubType();
|
||||
String subType2 = a2.getSubType();
|
||||
if(a1.getId().longValue() == a2.getId().longValue() && (subType1.equals("building") || subType2.equals("building"))) {
|
||||
return true;
|
||||
}
|
||||
if (!type1.equals(type2)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue