diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-04-19 22:03:17 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-04-20 00:29:52 +0200 |
commit | 246acb19f99cf974080e1bdf28acd6a263d6e971 (patch) | |
tree | 1bf8b98509aea91a629ee08d7c0fc952d9e00ee5 /src/Entities/LeashKnot.cpp | |
parent | Correct world access in NetherPortalScanner (diff) | |
download | cuberite-246acb19f99cf974080e1bdf28acd6a263d6e971.tar cuberite-246acb19f99cf974080e1bdf28acd6a263d6e971.tar.gz cuberite-246acb19f99cf974080e1bdf28acd6a263d6e971.tar.bz2 cuberite-246acb19f99cf974080e1bdf28acd6a263d6e971.tar.lz cuberite-246acb19f99cf974080e1bdf28acd6a263d6e971.tar.xz cuberite-246acb19f99cf974080e1bdf28acd6a263d6e971.tar.zst cuberite-246acb19f99cf974080e1bdf28acd6a263d6e971.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/LeashKnot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/LeashKnot.cpp b/src/Entities/LeashKnot.cpp index aa9e3dfb4..b11c29703 100644 --- a/src/Entities/LeashKnot.cpp +++ b/src/Entities/LeashKnot.cpp @@ -107,7 +107,7 @@ void cLeashKnot::GetDrops(cItems & a_Items, cEntity * a_Killer) void cLeashKnot::SpawnOn(cClientHandle & a_ClientHandle) { Super::SpawnOn(a_ClientHandle); - a_ClientHandle.SendSpawnObject(*this, 77, GetProtocolFacing(), static_cast<Byte>(GetYaw()), static_cast<Byte>(GetPitch())); + a_ClientHandle.SendSpawnObject(*this, 77, GetProtocolFacing()); a_ClientHandle.SendEntityMetadata(*this); } |