summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BeaconEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/BeaconEntity.h')
-rw-r--r--src/BlockEntities/BeaconEntity.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/BlockEntities/BeaconEntity.h b/src/BlockEntities/BeaconEntity.h
index 07b2b85dc..59a4bdbd9 100644
--- a/src/BlockEntities/BeaconEntity.h
+++ b/src/BlockEntities/BeaconEntity.h
@@ -41,6 +41,9 @@ public:
virtual bool Tick(float a_Dt, cChunk & a_Chunk) override;
virtual void UsedBy(cPlayer * a_Player) override;
+ /** Modify the beacon level. (It is needed to load the beacon corectly) */
+ void SetBeaconLevel(char a_Level) { m_BeaconLevel = a_Level; }
+
// tolua_begin
/** Is the beacon active? */