reorder for performance
This commit is contained in:
parent
61a00b3965
commit
54617bf634
@ -839,8 +839,8 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
|
|||||||
if (desired == null) {
|
if (desired == null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if ((current.getBlock() instanceof BlockGlazedTerracotta || current.getBlock() instanceof BlockBone || current.getBlock() instanceof BlockHay)
|
if (Baritone.settings().buildIgnoreDirection.value && current.getBlock() == desired.getBlock() &&
|
||||||
&& Baritone.settings().buildIgnoreDirection.value && current.getBlock() == desired.getBlock()) {
|
(current.getBlock() instanceof BlockGlazedTerracotta || current.getBlock() instanceof BlockBone || current.getBlock() instanceof BlockHay)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (current.getBlock() instanceof BlockLiquid && Baritone.settings().okIfWater.value) {
|
if (current.getBlock() instanceof BlockLiquid && Baritone.settings().okIfWater.value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user