fix cached path loop
This commit is contained in:
parent
d95a72f2cc
commit
e5184efdaa
@ -124,7 +124,7 @@ public final class ChunkPacker {
|
|||||||
|
|
||||||
private static PathingBlockType getPathingBlockType(IBlockState state) {
|
private static PathingBlockType getPathingBlockType(IBlockState state) {
|
||||||
Block block = state.getBlock();
|
Block block = state.getBlock();
|
||||||
if (block.equals(Blocks.WATER)) {
|
if (block.equals(Blocks.WATER) && !MovementHelper.isFlowing(state)) {
|
||||||
// only water source blocks are plausibly usable, flowing water should be avoid
|
// only water source blocks are plausibly usable, flowing water should be avoid
|
||||||
return PathingBlockType.WATER;
|
return PathingBlockType.WATER;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user