From 246acb19f99cf974080e1bdf28acd6a263d6e971 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 19 Apr 2020 21:03:17 +0100 Subject: Delet SpawnObject params * Fix #4679 awkward... --- src/Entities/LeashKnot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/LeashKnot.cpp') 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(GetYaw()), static_cast(GetPitch())); + a_ClientHandle.SendSpawnObject(*this, 77, GetProtocolFacing()); a_ClientHandle.SendEntityMetadata(*this); } -- cgit v1.2.3