summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-24 20:02:51 +0100
committerMattes D <github@xoft.cz>2014-12-24 20:02:51 +0100
commit5609d76ed7d8026b3bcaeb02fb42bd9ba2f27c96 (patch)
tree6ad394364397045fca24d4ce1b7469ba0f5be9c7 /src/Entities
parentFixed redstone dust placement on upside-down slabs. (diff)
downloadcuberite-5609d76ed7d8026b3bcaeb02fb42bd9ba2f27c96.tar
cuberite-5609d76ed7d8026b3bcaeb02fb42bd9ba2f27c96.tar.gz
cuberite-5609d76ed7d8026b3bcaeb02fb42bd9ba2f27c96.tar.bz2
cuberite-5609d76ed7d8026b3bcaeb02fb42bd9ba2f27c96.tar.lz
cuberite-5609d76ed7d8026b3bcaeb02fb42bd9ba2f27c96.tar.xz
cuberite-5609d76ed7d8026b3bcaeb02fb42bd9ba2f27c96.tar.zst
cuberite-5609d76ed7d8026b3bcaeb02fb42bd9ba2f27c96.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 33ab5293c..b94d2659e 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -442,7 +442,8 @@ public:
/** Calls the block-placement hook and places the block in the world, unless refused by the hook.
If the hook prevents the placement, sends the current block at the specified coords back to the client.
- Assumes that all the blocks are in currently loaded chunks. */
+ Assumes that the block is in a currently loaded chunk.
+ Returns true if the block is successfully placed. */
bool PlaceBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
/** Sends the block in the specified range around the specified coord to the client