summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorDarkoGNU <42816979+DarkoGNU@users.noreply.github.com>2022-04-21 20:56:21 +0200
committerGitHub <noreply@github.com>2022-04-21 20:56:21 +0200
commit4f554e91abd861323aaf9f46d75ff0350a519cef (patch)
treea3e986e773d637e5a64dc83f5792d76c1b263802 /src/BlockInfo.cpp
parentProtocol sources fixes (#5411) (diff)
downloadcuberite-4f554e91abd861323aaf9f46d75ff0350a519cef.tar
cuberite-4f554e91abd861323aaf9f46d75ff0350a519cef.tar.gz
cuberite-4f554e91abd861323aaf9f46d75ff0350a519cef.tar.bz2
cuberite-4f554e91abd861323aaf9f46d75ff0350a519cef.tar.lz
cuberite-4f554e91abd861323aaf9f46d75ff0350a519cef.tar.xz
cuberite-4f554e91abd861323aaf9f46d75ff0350a519cef.tar.zst
cuberite-4f554e91abd861323aaf9f46d75ff0350a519cef.zip
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r--src/BlockInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 4f2513928..9f29d3b31 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -1164,6 +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_FENCE: return 1.5;
case E_BLOCK_JUNGLE_FENCE: return 1.5;
case E_BLOCK_JUNGLE_FENCE_GATE: return 1.5;