From 9d13bcfe119d2e5ffc8cd0e486b93b12d1784b7c Mon Sep 17 00:00:00 2001 From: Entropy5 <44469915+Entropy5@users.noreply.github.com> Date: Wed, 22 Dec 2021 00:20:21 +0100 Subject: [PATCH] formatting --- src/main/java/baritone/process/BuilderProcess.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/baritone/process/BuilderProcess.java b/src/main/java/baritone/process/BuilderProcess.java index e837c4a7..05de59ca 100644 --- a/src/main/java/baritone/process/BuilderProcess.java +++ b/src/main/java/baritone/process/BuilderProcess.java @@ -843,13 +843,15 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil ); private boolean sameWithoutOrientation(IBlockState first, IBlockState second) { - if (first.getBlock() != second.getBlock() - ) {return false;} + if (first.getBlock() != second.getBlock()) { + return false; + } ImmutableMap, Comparable> map1 = first.getProperties(); ImmutableMap, Comparable> map2 = second.getProperties(); for (IProperty prop : map1.keySet()) { - if (map1.get(prop) != map2.get(prop) && !orientationProps.contains(prop) - ) {return false;} + if (map1.get(prop) != map2.get(prop) && !orientationProps.contains(prop)) { + return false; + } } return true; }