summaryrefslogtreecommitdiffstats
path: root/src/Broadcaster.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2022-07-11 00:55:11 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2022-07-19 23:33:09 +0200
commitcd97aa83307ce33068082dc57deee8d922fec432 (patch)
tree7ea02bf81e102e80df32d527a085c3ecd3f66d44 /src/Broadcaster.cpp
parentClientHandle: fix incorrect position floor (diff)
downloadcuberite-cd97aa83307ce33068082dc57deee8d922fec432.tar
cuberite-cd97aa83307ce33068082dc57deee8d922fec432.tar.gz
cuberite-cd97aa83307ce33068082dc57deee8d922fec432.tar.bz2
cuberite-cd97aa83307ce33068082dc57deee8d922fec432.tar.lz
cuberite-cd97aa83307ce33068082dc57deee8d922fec432.tar.xz
cuberite-cd97aa83307ce33068082dc57deee8d922fec432.tar.zst
cuberite-cd97aa83307ce33068082dc57deee8d922fec432.zip
Diffstat (limited to 'src/Broadcaster.cpp')
-rw-r--r--src/Broadcaster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Broadcaster.cpp b/src/Broadcaster.cpp
index 9369b8062..4aa7cd0fc 100644
--- a/src/Broadcaster.cpp
+++ b/src/Broadcaster.cpp
@@ -215,7 +215,7 @@ void cWorld::BroadcastChat(const cCompositeChat & a_Message, const cClientHandle
-void cWorld::BroadcastCollectEntity(const cEntity & a_Collected, const cEntity & a_Collector, unsigned a_Count, const cClientHandle * a_Exclude)
+void cWorld::BroadcastCollectEntity(const cEntity & a_Collected, const cPawn & a_Collector, unsigned a_Count, const cClientHandle * a_Exclude)
{
ForClientsWithEntity(a_Collected, *this, a_Exclude, [&](cClientHandle & a_Client)
{