summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-04-13 14:56:39 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-04-13 14:56:39 +0200
commita717fb91b02c826471e45d45d4b428db84832eb6 (patch)
treeeded0f3a6350c3f55cdb18cfbb98cffe18b2b04d /src/Entities/Player.h
parentMerge pull request #3137 from cuberite/issue3136 (diff)
parentFix occasional freeze bug (diff)
downloadcuberite-a717fb91b02c826471e45d45d4b428db84832eb6.tar
cuberite-a717fb91b02c826471e45d45d4b428db84832eb6.tar.gz
cuberite-a717fb91b02c826471e45d45d4b428db84832eb6.tar.bz2
cuberite-a717fb91b02c826471e45d45d4b428db84832eb6.tar.lz
cuberite-a717fb91b02c826471e45d45d4b428db84832eb6.tar.xz
cuberite-a717fb91b02c826471e45d45d4b428db84832eb6.tar.zst
cuberite-a717fb91b02c826471e45d45d4b428db84832eb6.zip
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h10
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