diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-21 16:47:44 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-21 16:47:44 +0200 |
commit | ab860e6573033aa4af87f790a95dd5fdc2b38dbd (patch) | |
tree | b11ecdf177e85851e6a060dd74dd18d39a9c6cf6 /source/cChunk.cpp | |
parent | Implemented the missing HOOK_PLAYER_SPAWN hook (although its name is not too good, should be PLAYER_AUTH) (diff) | |
download | cuberite-ab860e6573033aa4af87f790a95dd5fdc2b38dbd.tar cuberite-ab860e6573033aa4af87f790a95dd5fdc2b38dbd.tar.gz cuberite-ab860e6573033aa4af87f790a95dd5fdc2b38dbd.tar.bz2 cuberite-ab860e6573033aa4af87f790a95dd5fdc2b38dbd.tar.lz cuberite-ab860e6573033aa4af87f790a95dd5fdc2b38dbd.tar.xz cuberite-ab860e6573033aa4af87f790a95dd5fdc2b38dbd.tar.zst cuberite-ab860e6573033aa4af87f790a95dd5fdc2b38dbd.zip |
Diffstat (limited to 'source/cChunk.cpp')
-rw-r--r-- | source/cChunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cChunk.cpp b/source/cChunk.cpp index 99d938919..fc1b7de95 100644 --- a/source/cChunk.cpp +++ b/source/cChunk.cpp @@ -954,7 +954,7 @@ void cChunk::CreateBlockEntities(void) { for (int y = 0; y < Height; y++) { - ENUM_BLOCK_ID BlockType = (ENUM_BLOCK_ID)m_BlockTypes[ MakeIndex( x, y, z ) ]; + ENUM_BLOCK_ID BlockType = (ENUM_BLOCK_ID)cChunkDef::GetBlock(m_BlockTypes, x, y, z); switch ( BlockType ) { case E_BLOCK_CHEST: |