diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-13 14:15:12 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-13 14:44:08 +0200 |
commit | 9bec04ab1e357c7ccbf1208153cd1b0a0c53be1d (patch) | |
tree | eded0f3a6350c3f55cdb18cfbb98cffe18b2b04d /src/Entities/Player.h | |
parent | Merge pull request #3137 from cuberite/issue3136 (diff) | |
download | cuberite-9bec04ab1e357c7ccbf1208153cd1b0a0c53be1d.tar cuberite-9bec04ab1e357c7ccbf1208153cd1b0a0c53be1d.tar.gz cuberite-9bec04ab1e357c7ccbf1208153cd1b0a0c53be1d.tar.bz2 cuberite-9bec04ab1e357c7ccbf1208153cd1b0a0c53be1d.tar.lz cuberite-9bec04ab1e357c7ccbf1208153cd1b0a0c53be1d.tar.xz cuberite-9bec04ab1e357c7ccbf1208153cd1b0a0c53be1d.tar.zst cuberite-9bec04ab1e357c7ccbf1208153cd1b0a0c53be1d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index f04bcdd39..2f1e892dc 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -693,11 +693,13 @@ protected: /** Tosses a list of items. */ void TossItems(const cItems & a_Items); - /** Pins the player to a_Location until Unfreeze() is called. - If ManuallyFrozen is false, the player will unfreeze when the chunk is loaded. */ - void FreezeInternal(const Vector3d & a_Location, bool a_ManuallyFrozen); - /** Returns the filename for the player data based on the UUID given. This can be used both for online and offline UUIDs. */ AString GetUUIDFileName(const AString & a_UUID); + +private: + + /** Pins the player to a_Location until Unfreeze() is called. + If ManuallyFrozen is false, the player will unfreeze when the chunk is loaded. */ + void FreezeInternal(const Vector3d & a_Location, bool a_ManuallyFrozen); } ; // tolua_export |