diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 00:41:07 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 00:41:07 +0200 |
commit | e10237fb4dc7e9c9c3d0a67cfd2672fbb1d9083d (patch) | |
tree | 432bf2015df453b1cb6d6fddd6b133ddd8f307a7 /src | |
parent | 1.8: Fixed enderman spawning. (diff) | |
download | cuberite-e10237fb4dc7e9c9c3d0a67cfd2672fbb1d9083d.tar cuberite-e10237fb4dc7e9c9c3d0a67cfd2672fbb1d9083d.tar.gz cuberite-e10237fb4dc7e9c9c3d0a67cfd2672fbb1d9083d.tar.bz2 cuberite-e10237fb4dc7e9c9c3d0a67cfd2672fbb1d9083d.tar.lz cuberite-e10237fb4dc7e9c9c3d0a67cfd2672fbb1d9083d.tar.xz cuberite-e10237fb4dc7e9c9c3d0a67cfd2672fbb1d9083d.tar.zst cuberite-e10237fb4dc7e9c9c3d0a67cfd2672fbb1d9083d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol18x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp index abc9f7e60..154da212c 100644 --- a/src/Protocol/Protocol18x.cpp +++ b/src/Protocol/Protocol18x.cpp @@ -3224,7 +3224,7 @@ void cProtocol180::cPacketizer::WriteMobMetadata(const cMonster & a_Mob) case cMonster::mtEnderman: { WriteByte(0x30); - WriteByte((Byte)(((const cEnderman &)a_Mob).GetCarriedBlock())); + WriteShort((Byte)(((const cEnderman &)a_Mob).GetCarriedBlock())); WriteByte(0x11); WriteByte((Byte)(((const cEnderman &)a_Mob).GetCarriedMeta())); WriteByte(0x12); |