summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemChest.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-07-31 22:17:52 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-01 08:21:20 +0200
commit0d0323608df044aebfc6d0f3ac2ca5e07512facc (patch)
treef2317e70c96b7ffc8f0dae99cd563163deb985ad /src/Items/ItemChest.h
parentcWorld::SendBlockTo take player by ref (diff)
downloadcuberite-0d0323608df044aebfc6d0f3ac2ca5e07512facc.tar
cuberite-0d0323608df044aebfc6d0f3ac2ca5e07512facc.tar.gz
cuberite-0d0323608df044aebfc6d0f3ac2ca5e07512facc.tar.bz2
cuberite-0d0323608df044aebfc6d0f3ac2ca5e07512facc.tar.lz
cuberite-0d0323608df044aebfc6d0f3ac2ca5e07512facc.tar.xz
cuberite-0d0323608df044aebfc6d0f3ac2ca5e07512facc.tar.zst
cuberite-0d0323608df044aebfc6d0f3ac2ca5e07512facc.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemChest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemChest.h b/src/Items/ItemChest.h
index 9f1a3f0d2..83f4c4cfa 100644
--- a/src/Items/ItemChest.h
+++ b/src/Items/ItemChest.h
@@ -54,7 +54,7 @@ public:
cChunkInterface ChunkInterface(a_World.GetChunkMap());
if (BlockHandler(ClickedBlock)->DoesIgnoreBuildCollision(ChunkInterface, { a_BlockX, a_BlockY, a_BlockZ }, a_Player, ClickedBlockMeta))
{
- BlockHandler(ClickedBlock)->OnDestroyedByPlayer(ChunkInterface, a_World, &a_Player, a_BlockX, a_BlockY, a_BlockZ);
+ BlockHandler(ClickedBlock)->OnDestroyedByPlayer(ChunkInterface, a_World, a_Player, a_BlockX, a_BlockY, a_BlockZ);
}
else
{