summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorMasy98 <masy@antheruscraft.de>2014-10-01 19:23:43 +0200
committerMasy98 <masy@antheruscraft.de>2014-10-01 19:23:43 +0200
commitd37b047ebeb8b61c7af36d954f89bbe8cabe35d4 (patch)
treee7960a666620af6e3bcc22c43c15b4f7de808a59 /src/Entities/Player.h
parentFixed Red Sandstone and Prismarine drops (diff)
parentMerge pull request #1493 from Masy98/blocks (diff)
downloadcuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar
cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.gz
cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.bz2
cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.lz
cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.xz
cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.zst
cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.zip
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index ffd0b7e03..22d6a2ae2 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -182,11 +182,11 @@ public:
/** Sets the player team, NULL if none */
void SetTeam(cTeam * a_Team);
+ // tolua_end
+
/** Forces the player to query the scoreboard for his team */
cTeam * UpdateTeam(void);
- // tolua_end
-
/** Return the associated statistic and achievement manager. */
cStatManager & GetStatManager() { return m_Stats; }
@@ -421,9 +421,13 @@ public:
/** Sets the player's bed (home) position */
void SetBedPos(const Vector3i & a_Pos) { m_LastBedPos = a_Pos; }
+
+ // tolua_end
/** Update movement-related statistics. */
void UpdateMovementStats(const Vector3d & a_DeltaPos);
+
+ // tolua_begin
/** Returns wheter the player can fly or not. */
virtual bool CanFly(void) const { return m_CanFly; }