diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-01-25 20:14:14 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-01-25 20:14:14 +0100 |
commit | 15b92af166e03e3deb8baf5eb2ec6b0be5981646 (patch) | |
tree | 49367551eb466edce81ed6f68507ab60c6efe3df /src/ClientHandle.cpp | |
parent | dded dependecy on Blocks to Generator (diff) | |
download | cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.gz cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.bz2 cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.lz cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.xz cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.zst cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 0a2d3c1be..083dad833 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -916,7 +916,7 @@ void cClientHandle::HandleRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, c // A plugin doesn't agree with using the block, abort return; } - BlockHandler->OnUse(World, m_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ); + BlockHandler->OnUse(World, World, m_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ); PlgMgr->CallHookPlayerUsedBlock(*m_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, BlockType, BlockMeta); return; } |