diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-16 23:22:48 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-16 23:22:48 +0200 |
commit | c633dd8cec149565538499b2e50ae97fd15b928c (patch) | |
tree | d109f84a573c4eaeeeb47e474bc2e9268adde90a /src/World.h | |
parent | Merge pull request #2364 from hallucino/ageable-mobs (diff) | |
parent | Improved spider AI (diff) | |
download | cuberite-c633dd8cec149565538499b2e50ae97fd15b928c.tar cuberite-c633dd8cec149565538499b2e50ae97fd15b928c.tar.gz cuberite-c633dd8cec149565538499b2e50ae97fd15b928c.tar.bz2 cuberite-c633dd8cec149565538499b2e50ae97fd15b928c.tar.lz cuberite-c633dd8cec149565538499b2e50ae97fd15b928c.tar.xz cuberite-c633dd8cec149565538499b2e50ae97fd15b928c.tar.zst cuberite-c633dd8cec149565538499b2e50ae97fd15b928c.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h index 4e85dc5e5..ab2b197c5 100644 --- a/src/World.h +++ b/src/World.h @@ -484,6 +484,7 @@ public: BLOCKTYPE GetBlock (const Vector3i & a_Pos) { return GetBlock( a_Pos.x, a_Pos.y, a_Pos.z); } NIBBLETYPE GetBlockMeta(const Vector3i & a_Pos) { return GetBlockMeta( a_Pos.x, a_Pos.y, a_Pos.z); } void SetBlockMeta(const Vector3i & a_Pos, NIBBLETYPE a_MetaData) { SetBlockMeta( a_Pos.x, a_Pos.y, a_Pos.z, a_MetaData); } + NIBBLETYPE GetBlockBlockLight(const Vector3i & a_Pos) { return GetBlockBlockLight( a_Pos.x, a_Pos.y, a_Pos.z); } // tolua_end /** Writes the block area into the specified coords. |