diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 22:59:02 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 23:16:54 +0200 |
commit | d0cc9aedb3e63d39324c52b6385406f362ab41b7 (patch) | |
tree | 20aed08f8932927b94735cf6d996f7d6ea375f46 /src/Items/ItemHandler.h | |
parent | Player.cpp: Fixed compile error (diff) | |
download | cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.gz cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.bz2 cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.lz cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.xz cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.tar.zst cuberite-d0cc9aedb3e63d39324c52b6385406f362ab41b7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHandler.h b/src/Items/ItemHandler.h index 3ea04d1cb..c7362c5f4 100644 --- a/src/Items/ItemHandler.h +++ b/src/Items/ItemHandler.h @@ -91,7 +91,7 @@ public: /** Can the anvil repair this item, when a_Item is the second input? */ virtual bool CanRepairWithRawMaterial(short a_ItemType); - /** Called before a block is placed into a world. + /** Called before a block is placed into a world. The handler should return true to allow placement, false to refuse. Also, the handler should set a_BlockType and a_BlockMeta to correct values for the newly placed block. */ |