diff options
author | Lukas Pioch <lukas@zgow.de> | 2020-04-04 21:34:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-04 21:34:00 +0200 |
commit | 9680408c16602f54dbdafc29bd5b1435857c5d84 (patch) | |
tree | 340d418f1ea74d4d95f19ada777ae0b3e43966a1 /src | |
parent | Remove switch statements from cItemFoodHandler (#4610) (diff) | |
download | cuberite-9680408c16602f54dbdafc29bd5b1435857c5d84.tar cuberite-9680408c16602f54dbdafc29bd5b1435857c5d84.tar.gz cuberite-9680408c16602f54dbdafc29bd5b1435857c5d84.tar.bz2 cuberite-9680408c16602f54dbdafc29bd5b1435857c5d84.tar.lz cuberite-9680408c16602f54dbdafc29bd5b1435857c5d84.tar.xz cuberite-9680408c16602f54dbdafc29bd5b1435857c5d84.tar.zst cuberite-9680408c16602f54dbdafc29bd5b1435857c5d84.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/BlockEntity.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BlockEntities/BlockEntity.cpp b/src/BlockEntities/BlockEntity.cpp index 33ab3253d..52611dce9 100644 --- a/src/BlockEntities/BlockEntity.cpp +++ b/src/BlockEntities/BlockEntity.cpp @@ -77,6 +77,7 @@ OwnedBlockEntity cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETY { switch (a_BlockType) { + case E_BLOCK_BEACON: return cpp14::make_unique<cBeaconEntity >(a_BlockType, a_BlockMeta, a_Pos, a_World); case E_BLOCK_BED: return cpp14::make_unique<cBedEntity >(a_BlockType, a_BlockMeta, a_Pos, a_World); case E_BLOCK_BREWING_STAND: return cpp14::make_unique<cBrewingstandEntity>(a_BlockType, a_BlockMeta, a_Pos, a_World); case E_BLOCK_CHEST: return cpp14::make_unique<cChestEntity >(a_BlockType, a_BlockMeta, a_Pos, a_World); |