diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-02 19:46:00 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-02 19:46:00 +0200 |
commit | 19caba5125e457a9663102989ea717898e3c2827 (patch) | |
tree | 5ddd30ef142ad0f6d962e851c275687f5ab07f2e /src/Blocks/BlockLever.h | |
parent | Fixed printf formats for Win builds (diff) | |
download | cuberite-19caba5125e457a9663102989ea717898e3c2827.tar cuberite-19caba5125e457a9663102989ea717898e3c2827.tar.gz cuberite-19caba5125e457a9663102989ea717898e3c2827.tar.bz2 cuberite-19caba5125e457a9663102989ea717898e3c2827.tar.lz cuberite-19caba5125e457a9663102989ea717898e3c2827.tar.xz cuberite-19caba5125e457a9663102989ea717898e3c2827.tar.zst cuberite-19caba5125e457a9663102989ea717898e3c2827.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockLever.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Blocks/BlockLever.h b/src/Blocks/BlockLever.h index afe43abf8..4e745d413 100644 --- a/src/Blocks/BlockLever.h +++ b/src/Blocks/BlockLever.h @@ -23,6 +23,7 @@ public: NIBBLETYPE Meta = (a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ) ^ 0x08); a_ChunkInterface.SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, Meta); + a_WorldInterface.WakeUpSimulators(a_BlockX, a_BlockY, a_BlockZ); a_WorldInterface.GetBroadcastManager().BroadcastSoundEffect("random.click", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 0.5f, (Meta & 0x08) ? 0.6f : 0.5f); } |