diff options
author | bibo38 <bibo38@github.com> | 2015-11-05 21:57:30 +0100 |
---|---|---|
committer | bibo38 <bibo38@github.com> | 2015-11-07 17:23:02 +0100 |
commit | 0447af8bcba4394387c339945f020fb023b6eb5e (patch) | |
tree | 2c61d282b5c7dfecbe409af9cd872ea60d2ba244 /src/Blocks/BlockPiston.h | |
parent | Commented the GetDirectionVec method (diff) | |
download | cuberite-0447af8bcba4394387c339945f020fb023b6eb5e.tar cuberite-0447af8bcba4394387c339945f020fb023b6eb5e.tar.gz cuberite-0447af8bcba4394387c339945f020fb023b6eb5e.tar.bz2 cuberite-0447af8bcba4394387c339945f020fb023b6eb5e.tar.lz cuberite-0447af8bcba4394387c339945f020fb023b6eb5e.tar.xz cuberite-0447af8bcba4394387c339945f020fb023b6eb5e.tar.zst cuberite-0447af8bcba4394387c339945f020fb023b6eb5e.zip |
Diffstat (limited to 'src/Blocks/BlockPiston.h')
-rw-r--r-- | src/Blocks/BlockPiston.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockPiston.h b/src/Blocks/BlockPiston.h index 0001a5787..418af6d27 100644 --- a/src/Blocks/BlockPiston.h +++ b/src/Blocks/BlockPiston.h @@ -84,7 +84,7 @@ public: /** This method converts the magic piston metadata into a direction vector. This vector has a length of 1 and points into the direction, in which the piston will extend. */ - static Vector3i GetDirectionVec(int a_PistonMeta); + static Vector3i VectorFromMetaData(int a_PistonMeta); static void ExtendPiston(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World); static void RetractPiston(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World); |