summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-04-12 00:01:15 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-04-12 00:01:15 +0200
commit875c2557c30aa5254c2ec3f4062ec463418c7d09 (patch)
tree29933f4e2c3d97efe5cbc2d5effaa07a643815d7 /src/Chunk.cpp
parentFixed issues with 64-bit MSVC compilation. (diff)
downloadcuberite-875c2557c30aa5254c2ec3f4062ec463418c7d09.tar
cuberite-875c2557c30aa5254c2ec3f4062ec463418c7d09.tar.gz
cuberite-875c2557c30aa5254c2ec3f4062ec463418c7d09.tar.bz2
cuberite-875c2557c30aa5254c2ec3f4062ec463418c7d09.tar.lz
cuberite-875c2557c30aa5254c2ec3f4062ec463418c7d09.tar.xz
cuberite-875c2557c30aa5254c2ec3f4062ec463418c7d09.tar.zst
cuberite-875c2557c30aa5254c2ec3f4062ec463418c7d09.zip
Diffstat (limited to '')
-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: