mirror of
https://github.com/cabaletta/baritone
synced 2024-12-18 05:04:41 +00:00
resolve comment
This commit is contained in:
parent
58723a33ca
commit
9e78443595
@ -370,10 +370,10 @@ public class ElytraProcess extends BaritoneProcessHelper implements IBaritonePro
|
||||
BlockPos.MutableBlockPos mut = new BlockPos.MutableBlockPos(pos);
|
||||
while (mut.getY() >= 0) {
|
||||
IBlockState state = ctx.world().getBlockState(mut);
|
||||
if (state.getMaterial().isLiquid()) { // lava
|
||||
if (state.getMaterial().isLiquid() || state.getBlock() != Blocks.MAGMA) { // lava
|
||||
return false;
|
||||
}
|
||||
if (state.getMaterial().blocksMovement() && state.getBlock() != Blocks.MAGMA) {
|
||||
if (state.getMaterial().blocksMovement()) {
|
||||
return !isAtEdge(mut);
|
||||
}
|
||||
mut.setPos(mut.getX(), mut.getY() - 1, mut.getZ());
|
||||
|
Loading…
Reference in New Issue
Block a user