summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BlockEntity.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/BlockEntities/BlockEntity.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 'src/BlockEntities/BlockEntity.cpp')
-rw-r--r--src/BlockEntities/BlockEntity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/BlockEntities/BlockEntity.cpp b/src/BlockEntities/BlockEntity.cpp
index b42318c2f..430f04551 100644
--- a/src/BlockEntities/BlockEntity.cpp
+++ b/src/BlockEntities/BlockEntity.cpp
@@ -4,6 +4,7 @@
// Implements the cBlockEntity class that is the common ancestor for all block entities
#include "Globals.h"
+#include "BeaconEntity.h"
#include "BlockEntity.h"
#include "ChestEntity.h"
#include "CommandBlockEntity.h"
@@ -26,6 +27,7 @@ cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE
{
switch (a_BlockType)
{
+ case E_BLOCK_BEACON: return new cBeaconEntity (a_BlockX, a_BlockY, a_BlockZ, a_World);
case E_BLOCK_CHEST: return new cChestEntity (a_BlockX, a_BlockY, a_BlockZ, a_World);
case E_BLOCK_COMMAND_BLOCK: return new cCommandBlockEntity(a_BlockX, a_BlockY, a_BlockZ, a_World);
case E_BLOCK_DISPENSER: return new cDispenserEntity (a_BlockX, a_BlockY, a_BlockZ, a_World);