This commit is contained in:
Entropy5 2021-12-23 21:59:20 +01:00
parent d97346be6c
commit 90c59d5b8e

View File

@ -847,9 +847,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
} }
ImmutableMap<IProperty<?>, Comparable<?>> map1 = first.getProperties(); ImmutableMap<IProperty<?>, Comparable<?>> map1 = first.getProperties();
ImmutableMap<IProperty<?>, Comparable<?>> map2 = second.getProperties(); ImmutableMap<IProperty<?>, Comparable<?>> map2 = second.getProperties();
HashSet<IProperty<?>> keys = new HashSet<>(first.getPropertyKeys()); for (IProperty<?> prop : map1.keySet()) {
keys.addAll(second.getPropertyKeys());
for (IProperty<?> prop : keys) {
if (map1.get(prop) != map2.get(prop) && !orientationProps.contains(prop)) { if (map1.get(prop) != map2.get(prop) && !orientationProps.contains(prop)) {
return false; return false;
} }