summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockDirt.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-16 22:28:12 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-27 23:20:28 +0100
commit9c461124866cd16d04206f49da6650a2219de50f (patch)
treef0858a5de18aa691f9063a342e6c5872b2631d69 /src/Blocks/BlockDirt.h
parentWrong if in BlockLeaves (diff)
downloadcuberite-9c461124866cd16d04206f49da6650a2219de50f.tar
cuberite-9c461124866cd16d04206f49da6650a2219de50f.tar.gz
cuberite-9c461124866cd16d04206f49da6650a2219de50f.tar.bz2
cuberite-9c461124866cd16d04206f49da6650a2219de50f.tar.lz
cuberite-9c461124866cd16d04206f49da6650a2219de50f.tar.xz
cuberite-9c461124866cd16d04206f49da6650a2219de50f.tar.zst
cuberite-9c461124866cd16d04206f49da6650a2219de50f.zip
Diffstat (limited to 'src/Blocks/BlockDirt.h')
-rw-r--r--src/Blocks/BlockDirt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockDirt.h b/src/Blocks/BlockDirt.h
index 6240e5e3f..a1ab74257 100644
--- a/src/Blocks/BlockDirt.h
+++ b/src/Blocks/BlockDirt.h
@@ -79,7 +79,7 @@ public:
Chunk->GetBlockTypeMeta(BlockX, BlockY + 1, BlockZ, AboveDest, AboveMeta);
if ((cBlockInfo::IsOneHitDig(AboveDest) || cBlockInfo::IsTransparent(AboveDest)) && !IsBlockWater(AboveDest))
{
- if (!cRoot::Get()->GetPluginManager()->CallHookBlockSpread((cWorld*) &a_WorldInterface, BlockX * cChunkDef::Width, BlockY, BlockZ * cChunkDef::Width, esGrassSpread))
+ if (!cRoot::Get()->GetPluginManager()->CallHookBlockSpread((cWorld*) &a_WorldInterface, BlockX * cChunkDef::Width, BlockY, BlockZ * cChunkDef::Width, ssGrassSpread))
{
Chunk->FastSetBlock(BlockX, BlockY, BlockZ, E_BLOCK_GRASS, 0);
}