diff options
author | worktycho <work.tycho@gmail.com> | 2016-01-12 00:52:25 +0100 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2016-01-12 00:52:25 +0100 |
commit | 7aa0b7299dad299a0b980d66793f43c70ecdd55f (patch) | |
tree | 3653367aaab3ddaeee96b5c3f9c3c6ed6d4bb9fd /src/Protocol/Protocol17x.cpp | |
parent | Merge pull request #2848 from Nakkar/master (diff) | |
parent | Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8 (diff) | |
download | cuberite-7aa0b7299dad299a0b980d66793f43c70ecdd55f.tar cuberite-7aa0b7299dad299a0b980d66793f43c70ecdd55f.tar.gz cuberite-7aa0b7299dad299a0b980d66793f43c70ecdd55f.tar.bz2 cuberite-7aa0b7299dad299a0b980d66793f43c70ecdd55f.tar.lz cuberite-7aa0b7299dad299a0b980d66793f43c70ecdd55f.tar.xz cuberite-7aa0b7299dad299a0b980d66793f43c70ecdd55f.tar.zst cuberite-7aa0b7299dad299a0b980d66793f43c70ecdd55f.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 010e1a8ba..1c8c81bbd 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -2784,7 +2784,7 @@ void cProtocol172::WriteBlockEntity(cPacketizer & a_Pkt, const cBlockEntity & a_ Writer.AddInt("z", MobHeadEntity.GetPosZ()); Writer.AddByte("SkullType", MobHeadEntity.GetType() & 0xFF); Writer.AddByte("Rot", MobHeadEntity.GetRotation() & 0xFF); - Writer.AddString("ExtraType", MobHeadEntity.GetOwner().c_str()); + Writer.AddString("ExtraType", MobHeadEntity.GetOwnerName()); Writer.AddString("id", "Skull"); // "Tile Entity ID" - MC wiki; vanilla server always seems to send this though break; } |