summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockSign.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Blocks/BlockSign.h')
-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);
+ }
} ;