diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-07-03 18:34:27 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-07-03 18:34:27 +0200 |
commit | d838ef7ba4e805d1620dfa4de8215bdfed1207fc (patch) | |
tree | 13e1156490ff60b4cd4974dc2f53c71c2f116382 /src/Blocks/BlockPlant.h | |
parent | Added new Cuberite backers from bountysource. (diff) | |
download | cuberite-d838ef7ba4e805d1620dfa4de8215bdfed1207fc.tar cuberite-d838ef7ba4e805d1620dfa4de8215bdfed1207fc.tar.gz cuberite-d838ef7ba4e805d1620dfa4de8215bdfed1207fc.tar.bz2 cuberite-d838ef7ba4e805d1620dfa4de8215bdfed1207fc.tar.lz cuberite-d838ef7ba4e805d1620dfa4de8215bdfed1207fc.tar.xz cuberite-d838ef7ba4e805d1620dfa4de8215bdfed1207fc.tar.zst cuberite-d838ef7ba4e805d1620dfa4de8215bdfed1207fc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockPlant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockPlant.h b/src/Blocks/BlockPlant.h index d7c5d9f83..bab34f798 100644 --- a/src/Blocks/BlockPlant.h +++ b/src/Blocks/BlockPlant.h @@ -101,7 +101,7 @@ protected: // If the chunk we are trying to get the block information from is loaded if (a_Chunk.UnboundedRelGetBlock(a_RelX + x, a_RelY, a_RelZ + z, Block, Meta)) { - cBlockHandler * Handler = cBlockInfo::Get(Block).m_Handler; + cBlockHandler * Handler = BlockHandler(Block); // If the block affects growth, add to the adjustment if (Handler->CanSustainPlant(m_BlockType)) |