summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-08-27 08:37:54 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-08-29 10:16:06 +0200
commitc088f7ff0a336703fb19038eef36f736a4e388f7 (patch)
treef1d9104b186d02f5da8f31ed8ce124bfbff3f6b2 /src/ClientHandle.h
parentFixed SendUnloadChunk bug (#3353) (diff)
downloadcuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar
cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.gz
cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.bz2
cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.lz
cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.xz
cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.tar.zst
cuberite-c088f7ff0a336703fb19038eef36f736a4e388f7.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index c49de647f..da59bdea8 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -369,6 +369,9 @@ public: // tolua_export
bool IsPlayerChunkSent();
private:
+ /** The dimension that was last sent to a player in a Respawn or Login packet.
+ Used to avoid Respawning into the same dimension, which confuses the client. */
+ eDimension m_LastSentDimension;
friend class cServer; // Needs access to SetSelf()