summaryrefslogtreecommitdiffstats
path: root/src/UUID.cpp
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2018-04-08 00:20:53 +0200
committerMattes D <github@xoft.cz>2018-04-08 00:20:53 +0200
commit1e312296cc8dca998dc854a2737c5bf9b2cfb407 (patch)
treea4db1c361e576a59bd5d15d87dc2bac0c434a25d /src/UUID.cpp
parentProperly destroy player (#4199) (diff)
downloadcuberite-1e312296cc8dca998dc854a2737c5bf9b2cfb407.tar
cuberite-1e312296cc8dca998dc854a2737c5bf9b2cfb407.tar.gz
cuberite-1e312296cc8dca998dc854a2737c5bf9b2cfb407.tar.bz2
cuberite-1e312296cc8dca998dc854a2737c5bf9b2cfb407.tar.lz
cuberite-1e312296cc8dca998dc854a2737c5bf9b2cfb407.tar.xz
cuberite-1e312296cc8dca998dc854a2737c5bf9b2cfb407.tar.zst
cuberite-1e312296cc8dca998dc854a2737c5bf9b2cfb407.zip
Diffstat (limited to 'src/UUID.cpp')
-rw-r--r--src/UUID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UUID.cpp b/src/UUID.cpp
index 866bf817e..c04e585d7 100644
--- a/src/UUID.cpp
+++ b/src/UUID.cpp
@@ -178,7 +178,7 @@ UInt8 cUUID::Version() const
UInt8 cUUID::Variant() const
{
- const Byte VariantBits = static_cast<Byte>((m_UUID[9] >> 5) & 0x07);
+ const Byte VariantBits = static_cast<Byte>((m_UUID[8] >> 5) & 0x07);
/* Variant bits format:
bits | variant | Description