summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-19 13:01:28 +0200
committermadmaxoft <github@xoft.cz>2014-04-19 13:01:28 +0200
commit5f3df1445f1ec129667a603bc979e293a3ed8272 (patch)
tree1d0b4bc0f8c46a5df74a2ff98f35ee5ae8491e2f /src/Chunk.cpp
parentCompilation fix (diff)
parentSome tweaks (diff)
downloadcuberite-5f3df1445f1ec129667a603bc979e293a3ed8272.tar
cuberite-5f3df1445f1ec129667a603bc979e293a3ed8272.tar.gz
cuberite-5f3df1445f1ec129667a603bc979e293a3ed8272.tar.bz2
cuberite-5f3df1445f1ec129667a603bc979e293a3ed8272.tar.lz
cuberite-5f3df1445f1ec129667a603bc979e293a3ed8272.tar.xz
cuberite-5f3df1445f1ec129667a603bc979e293a3ed8272.tar.zst
cuberite-5f3df1445f1ec129667a603bc979e293a3ed8272.zip
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r--src/Chunk.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index fe9cd9b31..4366111ef 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -1299,6 +1299,7 @@ void cChunk::CreateBlockEntities(void)
BLOCKTYPE BlockType = cChunkDef::GetBlock(m_BlockTypes, x, y, z);
switch (BlockType)
{
+ case E_BLOCK_BEACON:
case E_BLOCK_CHEST:
case E_BLOCK_COMMAND_BLOCK:
case E_BLOCK_DISPENSER:
@@ -1429,6 +1430,7 @@ void cChunk::SetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType,
// If the new block is a block entity, create the entity object:
switch (a_BlockType)
{
+ case E_BLOCK_BEACON:
case E_BLOCK_CHEST:
case E_BLOCK_COMMAND_BLOCK:
case E_BLOCK_DISPENSER: