mirror of
https://github.com/cabaletta/baritone
synced 2024-12-27 09:22:20 +00:00
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) {
|
||||
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
|
||||
return BlockStateInterface.isWater(up) && !Baritone.settings().assumeWalkOnWater.get();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user