diff options
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r-- | src/Items/ItemHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp index c34b8b444..666ada904 100644 --- a/src/Items/ItemHandler.cpp +++ b/src/Items/ItemHandler.cpp @@ -395,9 +395,9 @@ bool cItemHandler::OnPlayerPlace( // Handler refused the placement, send that information back to the client: for (const auto & blk: blocks) { - a_World.SendBlockTo(blk.GetX(), blk.GetY(), blk.GetZ(), &a_Player); + a_World.SendBlockTo(blk.GetX(), blk.GetY(), blk.GetZ(), a_Player); } - a_World.SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, &a_Player); + a_World.SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, a_Player); a_Player.GetInventory().SendEquippedSlot(); return false; } |