summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorscribblemaniac <connor.deptuck@gmail.com>2015-07-16 06:47:51 +0200
committerscribblemaniac <connor.deptuck@gmail.com>2015-07-16 19:15:57 +0200
commit55aa438831b82695a5cce6d505592b421096629a (patch)
treeb163cff25ab149a320379608c7f49fe331ad6d98 /src/World.h
parentMerge pull request #2350 from SamJBarney/PeonySnowFix (diff)
downloadcuberite-55aa438831b82695a5cce6d505592b421096629a.tar
cuberite-55aa438831b82695a5cce6d505592b421096629a.tar.gz
cuberite-55aa438831b82695a5cce6d505592b421096629a.tar.bz2
cuberite-55aa438831b82695a5cce6d505592b421096629a.tar.lz
cuberite-55aa438831b82695a5cce6d505592b421096629a.tar.xz
cuberite-55aa438831b82695a5cce6d505592b421096629a.tar.zst
cuberite-55aa438831b82695a5cce6d505592b421096629a.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index aeab7bfa5..083f3f204 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.