setting for nether fortress

This commit is contained in:
Leijurv
2023-07-31 00:18:43 -07:00
parent 83feddf6be
commit cc8afe95c5
2 changed files with 6 additions and 1 deletions

View File

@@ -423,7 +423,7 @@ public class ElytraProcess extends BaritoneProcessHelper implements IBaritonePro
}
private boolean isSafeBlock(Block block) {
return block == Blocks.NETHERRACK || block == Blocks.GRAVEL || block == Blocks.NETHER_BRICK;
return block == Blocks.NETHERRACK || block == Blocks.GRAVEL || (block == Blocks.NETHER_BRICK && Baritone.settings().elytraAllowLandOnNetherFortress.value);
}
private boolean isSafeBlock(BlockPos pos) {