summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-04-19 22:03:17 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-04-20 00:29:52 +0200
commit246acb19f99cf974080e1bdf28acd6a263d6e971 (patch)
tree1bf8b98509aea91a629ee08d7c0fc952d9e00ee5 /src/Protocol/ProtocolRecognizer.cpp
parentCorrect world access in NetherPortalScanner (diff)
downloadcuberite-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.cpp4
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);
}