Stop pathfinding over cobble walls
Also 1.5 blocks high, shouldn't pathfind over it.
This commit is contained in:
parent
6995af05fe
commit
62265a0850
|
@ -148,6 +148,7 @@ bool cPath::IsSolid(const Vector3i & a_Location)
|
||||||
(BlockType == E_BLOCK_FENCE) ||
|
(BlockType == E_BLOCK_FENCE) ||
|
||||||
(BlockType == E_BLOCK_OAK_FENCE_GATE) ||
|
(BlockType == E_BLOCK_OAK_FENCE_GATE) ||
|
||||||
(BlockType == E_BLOCK_NETHER_BRICK_FENCE) ||
|
(BlockType == E_BLOCK_NETHER_BRICK_FENCE) ||
|
||||||
|
(BlockType == E_BLOCK_COBBLESTONE_WALL) ||
|
||||||
((BlockType >= E_BLOCK_SPRUCE_FENCE_GATE) && (BlockType <= E_BLOCK_ACACIA_FENCE))
|
((BlockType >= E_BLOCK_SPRUCE_FENCE_GATE) && (BlockType <= E_BLOCK_ACACIA_FENCE))
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user