summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorbibo38 <bibo38@github.com>2016-01-11 17:55:32 +0100
committerbibo38 <bibo38@github.com>2016-01-11 17:55:32 +0100
commit657b0ed0070cc31e375e33ec752e4757e0c7a343 (patch)
tree1302f67bea0416a54c7d1077c84f53018acbbc11 /src/Protocol/Protocol17x.cpp
parentAdded "core.help" permission to Default rank. (diff)
downloadcuberite-657b0ed0070cc31e375e33ec752e4757e0c7a343.tar
cuberite-657b0ed0070cc31e375e33ec752e4757e0c7a343.tar.gz
cuberite-657b0ed0070cc31e375e33ec752e4757e0c7a343.tar.bz2
cuberite-657b0ed0070cc31e375e33ec752e4757e0c7a343.tar.lz
cuberite-657b0ed0070cc31e375e33ec752e4757e0c7a343.tar.xz
cuberite-657b0ed0070cc31e375e33ec752e4757e0c7a343.tar.zst
cuberite-657b0ed0070cc31e375e33ec752e4757e0c7a343.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp2
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;
}