summaryrefslogtreecommitdiffstats
path: root/source/Blocks
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-07-29 21:42:05 +0200
committermadmaxoft <github@xoft.cz>2013-07-29 21:42:05 +0200
commit9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff (patch)
tree1a29f49eecc37e72c56f87d5d23b2af7339d84a9 /source/Blocks
parentUpdated the nightbuild script for Git (diff)
downloadcuberite-9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff.tar
cuberite-9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff.tar.gz
cuberite-9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff.tar.bz2
cuberite-9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff.tar.lz
cuberite-9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff.tar.xz
cuberite-9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff.tar.zst
cuberite-9efcd5b82f80445aa6bdb046564b4bc0bd9f94ff.zip
Diffstat (limited to 'source/Blocks')
-rw-r--r--source/Blocks/BlockSign.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/Blocks/BlockSign.h b/source/Blocks/BlockSign.h
index a89ae0c49..09fa721b6 100644
--- a/source/Blocks/BlockSign.h
+++ b/source/Blocks/BlockSign.h
@@ -66,6 +66,17 @@ public:
}
return 0x2;
}
+
+
+ virtual void OnPlacedByPlayer(
+ cWorld * a_World, cPlayer * a_Player,
+ int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace,
+ int a_CursorX, int a_CursorY, int a_CursorZ,
+ BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta
+ ) override
+ {
+ a_Player->GetClientHandle()->SendEditSign(a_BlockX, a_BlockY, a_BlockZ);
+ }
} ;