formatting
This commit is contained in:
parent
26e8f02e85
commit
9d13bcfe11
@ -843,13 +843,15 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
|
|||||||
);
|
);
|
||||||
|
|
||||||
private boolean sameWithoutOrientation(IBlockState first, IBlockState second) {
|
private boolean sameWithoutOrientation(IBlockState first, IBlockState second) {
|
||||||
if (first.getBlock() != second.getBlock()
|
if (first.getBlock() != second.getBlock()) {
|
||||||
) {return false;}
|
return false;
|
||||||
|
}
|
||||||
ImmutableMap<IProperty<?>, Comparable<?>> map1 = first.getProperties();
|
ImmutableMap<IProperty<?>, Comparable<?>> map1 = first.getProperties();
|
||||||
ImmutableMap<IProperty<?>, Comparable<?>> map2 = second.getProperties();
|
ImmutableMap<IProperty<?>, Comparable<?>> map2 = second.getProperties();
|
||||||
for (IProperty<?> prop : map1.keySet()) {
|
for (IProperty<?> prop : map1.keySet()) {
|
||||||
if (map1.get(prop) != map2.get(prop) && !orientationProps.contains(prop)
|
if (map1.get(prop) != map2.get(prop) && !orientationProps.contains(prop)) {
|
||||||
) {return false;}
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user