summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-30 22:22:06 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-30 22:22:06 +0200
commitad4fa6eba823de90f528e199c9f7e61bdb3f55f3 (patch)
treee0dc77a644439106224623c3178bb515a7b409b6
parentExported the beacon. (diff)
downloadcuberite-ad4fa6eba823de90f528e199c9f7e61bdb3f55f3.tar
cuberite-ad4fa6eba823de90f528e199c9f7e61bdb3f55f3.tar.gz
cuberite-ad4fa6eba823de90f528e199c9f7e61bdb3f55f3.tar.bz2
cuberite-ad4fa6eba823de90f528e199c9f7e61bdb3f55f3.tar.lz
cuberite-ad4fa6eba823de90f528e199c9f7e61bdb3f55f3.tar.xz
cuberite-ad4fa6eba823de90f528e199c9f7e61bdb3f55f3.tar.zst
cuberite-ad4fa6eba823de90f528e199c9f7e61bdb3f55f3.zip
-rw-r--r--src/BlockEntities/BeaconEntity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/BeaconEntity.h b/src/BlockEntities/BeaconEntity.h
index 4710e91e0..07b2b85dc 100644
--- a/src/BlockEntities/BeaconEntity.h
+++ b/src/BlockEntities/BeaconEntity.h
@@ -49,8 +49,8 @@ public:
/** Returns the beacon level. (0 - 4) */
char GetBeaconLevel(void) const { return m_BeaconLevel; }
- char GetPrimaryPotion(void) const { return m_PrimaryPotion; }
- char GetSecondaryPotion(void) const { return m_SecondaryPotion; }
+ cEntityEffect::eType GetPrimaryPotion(void) const { return m_PrimaryPotion; }
+ cEntityEffect::eType GetSecondaryPotion(void) const { return m_SecondaryPotion; }
/** Select the primary potion. Returns false when the potion is invalid.*/
bool SelectPrimaryPotion(cEntityEffect::eType a_Potion);