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/Protocol/ProtocolRecognizer.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/Protocol/ProtocolRecognizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index 1bc6f687a..ee6d61cea 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -850,10 +850,10 @@ void cProtocolRecognizer::SendSpawnMob(const cMonster & a_Mob) -void cProtocolRecognizer::SendSpawnObject(const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, Byte a_Yaw, Byte a_Pitch) +void cProtocolRecognizer::SendSpawnObject(const cEntity & a_Entity, char a_ObjectType, int a_ObjectData) { ASSERT(m_Protocol != nullptr); - m_Protocol->SendSpawnObject(a_Entity, a_ObjectType, a_ObjectData, a_Yaw, a_Pitch); + m_Protocol->SendSpawnObject(a_Entity, a_ObjectType, a_ObjectData); } |