diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-11 18:15:34 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-11 18:15:34 +0100 |
commit | d2573b84dd52c06c723953ef66da4af8937a5a53 (patch) | |
tree | 32b2fcc9ccfb727fe339f5cb675cbbb50298238c /source/Protocol/Protocol132.cpp | |
parent | Fixed a crash in LeakFinder when out of memory (diff) | |
download | cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.gz cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.bz2 cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.lz cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.xz cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.zst cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.zip |
Diffstat (limited to 'source/Protocol/Protocol132.cpp')
-rw-r--r-- | source/Protocol/Protocol132.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Protocol/Protocol132.cpp b/source/Protocol/Protocol132.cpp index 0c928bde1..e051bcfa1 100644 --- a/source/Protocol/Protocol132.cpp +++ b/source/Protocol/Protocol132.cpp @@ -326,7 +326,7 @@ void cProtocol132::SendLogin(const cPlayer & a_Player, const cWorld & a_World) WriteInt (a_Player.GetUniqueID()); // EntityID of the player
WriteString("default"); // Level type
WriteByte ((int)a_Player.GetGameMode());
- WriteByte (0); // TODO: Dimension (Nether / Overworld / End)
+ WriteByte ((Byte)(a_World.GetDimension()));
WriteByte (2); // TODO: Difficulty
WriteByte (0); // Unused, used to be world height
WriteByte (8); // Client list width or something
|