summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-07-31 21:50:40 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-01 08:21:20 +0200
commit8eb5672920f8834ffe6edbff62713963b8d2ba3d (patch)
tree9c63da705ae076f8989414a3bc123d0a12866d59 /src/Entities/Player.cpp
parentUpdated plugin Core (diff)
downloadcuberite-8eb5672920f8834ffe6edbff62713963b8d2ba3d.tar
cuberite-8eb5672920f8834ffe6edbff62713963b8d2ba3d.tar.gz
cuberite-8eb5672920f8834ffe6edbff62713963b8d2ba3d.tar.bz2
cuberite-8eb5672920f8834ffe6edbff62713963b8d2ba3d.tar.lz
cuberite-8eb5672920f8834ffe6edbff62713963b8d2ba3d.tar.xz
cuberite-8eb5672920f8834ffe6edbff62713963b8d2ba3d.tar.zst
cuberite-8eb5672920f8834ffe6edbff62713963b8d2ba3d.zip
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r--src/Entities/Player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index f66f2b73d..9a5d6cf58 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -2733,7 +2733,7 @@ bool cPlayer::PlaceBlocks(const sSetBlockVector & a_Blocks)
// Abort - re-send all the current blocks in the a_Blocks' coords to the client:
for (auto blk2: a_Blocks)
{
- m_World->SendBlockTo(blk2.GetX(), blk2.GetY(), blk2.GetZ(), this);
+ m_World->SendBlockTo(blk2.GetX(), blk2.GetY(), blk2.GetZ(), *this);
}
return false;
}
@@ -2747,7 +2747,7 @@ bool cPlayer::PlaceBlocks(const sSetBlockVector & a_Blocks)
// Abort - re-send all the current blocks in the a_Blocks' coords to the client:
for (auto blk2: a_Blocks)
{
- m_World->SendBlockTo(blk2.GetX(), blk2.GetY(), blk2.GetZ(), this);
+ m_World->SendBlockTo(blk2.GetX(), blk2.GetY(), blk2.GetZ(), *this);
}
return false;
}