summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BeaconEntity.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-11-18 20:00:04 +0100
committerMattes D <github@xoft.cz>2016-11-18 20:00:04 +0100
commit0bffa2935854d1b1d0110a33707650cafe084af7 (patch)
tree2e102088f7f8c1bb4b398de9043cf36c4e42767a /src/BlockEntities/BeaconEntity.cpp
parentUpdated the Core. (diff)
downloadcuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar
cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.gz
cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.bz2
cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.lz
cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.xz
cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.zst
cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.zip
Diffstat (limited to 'src/BlockEntities/BeaconEntity.cpp')
-rw-r--r--src/BlockEntities/BeaconEntity.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/BlockEntities/BeaconEntity.cpp b/src/BlockEntities/BeaconEntity.cpp
index 6eb42384d..f2b38ac50 100644
--- a/src/BlockEntities/BeaconEntity.cpp
+++ b/src/BlockEntities/BeaconEntity.cpp
@@ -5,17 +5,18 @@
#include "../BlockArea.h"
#include "../Entities/Player.h"
#include "../UI/BeaconWindow.h"
+#include "../ClientHandle.h"
-cBeaconEntity::cBeaconEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World)
- : super(E_BLOCK_BEACON, a_BlockX, a_BlockY, a_BlockZ, 1, 1, a_World)
- , m_IsActive(false)
- , m_BeaconLevel(0)
- , m_PrimaryEffect(cEntityEffect::effNoEffect)
- , m_SecondaryEffect(cEntityEffect::effNoEffect)
+cBeaconEntity::cBeaconEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World):
+ super(E_BLOCK_BEACON, a_BlockX, a_BlockY, a_BlockZ, 1, 1, a_World),
+ m_IsActive(false),
+ m_BeaconLevel(0),
+ m_PrimaryEffect(cEntityEffect::effNoEffect),
+ m_SecondaryEffect(cEntityEffect::effNoEffect)
{
UpdateBeacon();
}