summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-05-23 11:37:50 +0200
committerAlexander Harkness <me@bearbin.net>2015-05-23 11:37:50 +0200
commitde5e056a889f3645b6134414e99374e9bf5b3dcb (patch)
treeb9a638dfdc6d915c732ee4c0426ea8c82dbb2235 /src
parentMerge pull request #2101 from mc-server/EquifaxCerts (diff)
downloadcuberite-de5e056a889f3645b6134414e99374e9bf5b3dcb.tar
cuberite-de5e056a889f3645b6134414e99374e9bf5b3dcb.tar.gz
cuberite-de5e056a889f3645b6134414e99374e9bf5b3dcb.tar.bz2
cuberite-de5e056a889f3645b6134414e99374e9bf5b3dcb.tar.lz
cuberite-de5e056a889f3645b6134414e99374e9bf5b3dcb.tar.xz
cuberite-de5e056a889f3645b6134414e99374e9bf5b3dcb.tar.zst
cuberite-de5e056a889f3645b6134414e99374e9bf5b3dcb.zip
Diffstat (limited to 'src')
-rw-r--r--src/Bindings/ManualBindings_World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings_World.cpp b/src/Bindings/ManualBindings_World.cpp
index 3ee5ca498..5becbba92 100644
--- a/src/Bindings/ManualBindings_World.cpp
+++ b/src/Bindings/ManualBindings_World.cpp
@@ -530,7 +530,7 @@ static int tolua_cWorld_TryGetHeight(lua_State * tolua_S)
// Call the implementation:
int Height = 0;
bool res = self->TryGetHeight(BlockX, BlockZ, Height);
- L.Push(res ? 1 : 0);
+ L.Push(res);
if (res)
{
L.Push(Height);