fix flowing water detection for assumeWalkOnWater
This commit is contained in:
parent
19b47d77e5
commit
0b30e822c2
@ -250,7 +250,7 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||||||
if (up instanceof BlockLilyPad) {
|
if (up instanceof BlockLilyPad) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (BlockStateInterface.isFlowing(state)) {
|
if (BlockStateInterface.isFlowing(state) || block == Blocks.FLOWING_WATER) {
|
||||||
// the only scenario in which we can walk on flowing water is if it's under still water with jesus off
|
// the only scenario in which we can walk on flowing water is if it's under still water with jesus off
|
||||||
return BlockStateInterface.isWater(up) && !Baritone.settings().assumeWalkOnWater.get();
|
return BlockStateInterface.isWater(up) && !Baritone.settings().assumeWalkOnWater.get();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user