diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-02-04 19:59:05 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-02-04 19:59:05 +0100 |
commit | 8464f689ea214d3c30105ae58539885cf1268317 (patch) | |
tree | 4e165031ed1528e4fd7c704850b62c543baf8d3f /src/Blocks/BlockRedstoneRepeater.h | |
parent | Fixed calling plugins with userdata params. (diff) | |
download | cuberite-8464f689ea214d3c30105ae58539885cf1268317.tar cuberite-8464f689ea214d3c30105ae58539885cf1268317.tar.gz cuberite-8464f689ea214d3c30105ae58539885cf1268317.tar.bz2 cuberite-8464f689ea214d3c30105ae58539885cf1268317.tar.lz cuberite-8464f689ea214d3c30105ae58539885cf1268317.tar.xz cuberite-8464f689ea214d3c30105ae58539885cf1268317.tar.zst cuberite-8464f689ea214d3c30105ae58539885cf1268317.zip |
Diffstat (limited to 'src/Blocks/BlockRedstoneRepeater.h')
-rw-r--r-- | src/Blocks/BlockRedstoneRepeater.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockRedstoneRepeater.h b/src/Blocks/BlockRedstoneRepeater.h index a48fed8b6..eb0918acf 100644 --- a/src/Blocks/BlockRedstoneRepeater.h +++ b/src/Blocks/BlockRedstoneRepeater.h @@ -20,7 +20,7 @@ public: virtual bool GetPlacementBlockTypeMeta( cChunkInterface & a_ChunkInterface, cPlayer * a_Player, - int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, + int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta ) override @@ -31,7 +31,7 @@ public: } - virtual void OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override + virtual void OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override { a_ChunkInterface.SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, ((a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ) + 0x04) & 0x0f)); } |