summaryrefslogtreecommitdiffstats
path: root/Plugins
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-04 15:09:35 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-04 15:09:35 +0100
commitf1f762c4fa77e24a16ad4843cfd62ef636749155 (patch)
tree3d334c1fd95b7d229211b2630202e3bef91c3230 /Plugins
parentChanged signed char to unsigned char in block packets, so we can receive height up to 255 (diff)
downloadcuberite-f1f762c4fa77e24a16ad4843cfd62ef636749155.tar
cuberite-f1f762c4fa77e24a16ad4843cfd62ef636749155.tar.gz
cuberite-f1f762c4fa77e24a16ad4843cfd62ef636749155.tar.bz2
cuberite-f1f762c4fa77e24a16ad4843cfd62ef636749155.tar.lz
cuberite-f1f762c4fa77e24a16ad4843cfd62ef636749155.tar.xz
cuberite-f1f762c4fa77e24a16ad4843cfd62ef636749155.tar.zst
cuberite-f1f762c4fa77e24a16ad4843cfd62ef636749155.zip
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/Core/onblockplace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Core/onblockplace.lua b/Plugins/Core/onblockplace.lua
index 64ab54920..5717d76ca 100644
--- a/Plugins/Core/onblockplace.lua
+++ b/Plugins/Core/onblockplace.lua
@@ -7,7 +7,7 @@ function OnBlockPlace( Block, Player )
local Y = Block.m_PosY
local Z = Block.m_PosZ
X, Y, Z = AddDirection( X, Y, Z, Block.m_Direction )
- if( Y >= 128 or Y < 0 ) then
+ if( Y >= 256 or Y < 0 ) then
return true
end