From 25208aefa4232a7e90198adbc542ec8b7c584c70 Mon Sep 17 00:00:00 2001 From: DarkoGNU <42816979+DarkoGNU@users.noreply.github.com> Date: Tue, 28 Jun 2022 23:49:41 +0200 Subject: Fix trampling for older clients and mobs (#5414) * Fix trampling for older clients and mobs * Style * Improve a comment * Improvements in HandleFarmlandTrampling --- src/BlockInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/BlockInfo.cpp') 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; -- cgit v1.2.3