Merge pull request #2739 from Gargaj/patch-6
Stop pathfinding over cobble walls
This commit is contained in:
commit
7501d44258
@ -148,6 +148,7 @@ bool cPath::IsSolid(const Vector3i & a_Location)
|
||||
(BlockType == E_BLOCK_FENCE) ||
|
||||
(BlockType == E_BLOCK_OAK_FENCE_GATE) ||
|
||||
(BlockType == E_BLOCK_NETHER_BRICK_FENCE) ||
|
||||
(BlockType == E_BLOCK_COBBLESTONE_WALL) ||
|
||||
((BlockType >= E_BLOCK_SPRUCE_FENCE_GATE) && (BlockType <= E_BLOCK_ACACIA_FENCE))
|
||||
)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user