summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorDarkoGNU <42816979+DarkoGNU@users.noreply.github.com>2022-06-28 23:49:41 +0200
committerGitHub <noreply@github.com>2022-06-28 23:49:41 +0200
commit25208aefa4232a7e90198adbc542ec8b7c584c70 (patch)
tree3fbbc14c6d6e2c42d44d7521f430a7f8725bc266 /src/BlockInfo.cpp
parentFix building with clang 14 (#5428) (diff)
downloadcuberite-25208aefa4232a7e90198adbc542ec8b7c584c70.tar
cuberite-25208aefa4232a7e90198adbc542ec8b7c584c70.tar.gz
cuberite-25208aefa4232a7e90198adbc542ec8b7c584c70.tar.bz2
cuberite-25208aefa4232a7e90198adbc542ec8b7c584c70.tar.lz
cuberite-25208aefa4232a7e90198adbc542ec8b7c584c70.tar.xz
cuberite-25208aefa4232a7e90198adbc542ec8b7c584c70.tar.zst
cuberite-25208aefa4232a7e90198adbc542ec8b7c584c70.zip
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r--src/BlockInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 9f29d3b31..556f8081f 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -1164,7 +1164,7 @@ float cBlockInfo::GetBlockHeight(const BLOCKTYPE Block)
case E_BLOCK_DARK_OAK_FENCE: return 1.5;
case E_BLOCK_DARK_OAK_FENCE_GATE: return 1.5;
case E_BLOCK_ENCHANTMENT_TABLE: return 0.75; // 12 pixels
- case E_BLOCK_FARMLAND: return 0.9375; // 15 pixels
+ // case E_BLOCK_FARMLAND: return 0.9375; // prevents trampling for mobs (#2015) and older clients (MC-85162)
case E_BLOCK_FENCE: return 1.5;
case E_BLOCK_JUNGLE_FENCE: return 1.5;
case E_BLOCK_JUNGLE_FENCE_GATE: return 1.5;