summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-05-30 12:22:49 +0200
committerAlexander Harkness <me@bearbin.net>2015-05-30 12:22:49 +0200
commit28bab3742582f0818098dd8f3060369f411b1f5a (patch)
treecb3bee6274247a3c61dd07975b38cabb133c21a1
parentMerge pull request #2171 from SafwatHalaby/fence (diff)
downloadcuberite-28bab3742582f0818098dd8f3060369f411b1f5a.tar
cuberite-28bab3742582f0818098dd8f3060369f411b1f5a.tar.gz
cuberite-28bab3742582f0818098dd8f3060369f411b1f5a.tar.bz2
cuberite-28bab3742582f0818098dd8f3060369f411b1f5a.tar.lz
cuberite-28bab3742582f0818098dd8f3060369f411b1f5a.tar.xz
cuberite-28bab3742582f0818098dd8f3060369f411b1f5a.tar.zst
cuberite-28bab3742582f0818098dd8f3060369f411b1f5a.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Path.cpp b/src/Mobs/Path.cpp
index f6660907c..e987381f7 100644
--- a/src/Mobs/Path.cpp
+++ b/src/Mobs/Path.cpp
@@ -162,7 +162,7 @@ bool cPath::IsSolid(const Vector3i & a_Location)
(BlockType == E_BLOCK_FENCE_GATE) ||
(BlockType == E_BLOCK_NETHER_BRICK_FENCE) ||
((BlockType >= E_BLOCK_SPRUCE_FENCE_GATE) && (BlockType <= E_BLOCK_ACACIA_FENCE))
- )
+ )
{
// TODO move this out of IsSolid to a proper place.
GetCell(a_Location + Vector3i(0, 1, 0))->m_IsSolid = true; // Mobs will always think that the fence is 2 blocks high and therefore won't jump over.