diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-01-25 20:14:14 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-01-25 20:14:14 +0100 |
commit | 15b92af166e03e3deb8baf5eb2ec6b0be5981646 (patch) | |
tree | 49367551eb466edce81ed6f68507ab60c6efe3df /src/Blocks/BlockFenceGate.h | |
parent | dded dependecy on Blocks to Generator (diff) | |
download | cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.gz cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.bz2 cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.lz cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.xz cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.zst cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.zip |
Diffstat (limited to 'src/Blocks/BlockFenceGate.h')
-rw-r--r-- | src/Blocks/BlockFenceGate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockFenceGate.h b/src/Blocks/BlockFenceGate.h index 779f12ee1..ff4f80c3c 100644 --- a/src/Blocks/BlockFenceGate.h +++ b/src/Blocks/BlockFenceGate.h @@ -30,7 +30,7 @@ public: } - virtual void OnUse(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) override + virtual void OnUse(cWorld * a_World, 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 { NIBBLETYPE OldMetaData = a_World->GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ); NIBBLETYPE NewMetaData = PlayerYawToMetaData(a_Player->GetYaw()); |