summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-07 12:59:48 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-07 12:59:48 +0200
commit36a2aa2f212212426f94db736eb8f889340c5e00 (patch)
treed2b4b0f8fa0a9d08231f9b68f74855340f92f9f8 /src/Blocks/BlockHandler.h
parentMerge branch 'master' into Slabs (diff)
downloadcuberite-36a2aa2f212212426f94db736eb8f889340c5e00.tar
cuberite-36a2aa2f212212426f94db736eb8f889340c5e00.tar.gz
cuberite-36a2aa2f212212426f94db736eb8f889340c5e00.tar.bz2
cuberite-36a2aa2f212212426f94db736eb8f889340c5e00.tar.lz
cuberite-36a2aa2f212212426f94db736eb8f889340c5e00.tar.xz
cuberite-36a2aa2f212212426f94db736eb8f889340c5e00.tar.zst
cuberite-36a2aa2f212212426f94db736eb8f889340c5e00.zip
Diffstat (limited to 'src/Blocks/BlockHandler.h')
-rw-r--r--src/Blocks/BlockHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h
index 4d6a2abb6..fb6cae729 100644
--- a/src/Blocks/BlockHandler.h
+++ b/src/Blocks/BlockHandler.h
@@ -86,8 +86,8 @@ public:
/// Checks if the block can stay at the specified relative coords in the chunk
virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk);
- /** Can change the block under this block to grass? */
- virtual bool CanChangeDirtToGrass(BLOCKTYPE a_Block, NIBBLETYPE a_Meta);
+ /** Can the dirt under this block grow to grass? */
+ virtual bool CanDirtGrowGrass(NIBBLETYPE a_Meta);
/** Checks if the block can be placed at this point.
Default: CanBeAt(...)