diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 19:07:20 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 19:07:20 +0200 |
commit | fcf558173e3bb9b2213c610815f82088e7541a1e (patch) | |
tree | e5a4d860acbd2dd5c8cff6adc33ff80ba5c663a7 /src/Blocks/ChunkInterface.h | |
parent | Only place farmland if no block is upper than dirt/grass. (diff) | |
download | cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.gz cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.bz2 cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.lz cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.xz cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.zst cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.zip |
Diffstat (limited to 'src/Blocks/ChunkInterface.h')
-rw-r--r-- | src/Blocks/ChunkInterface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/ChunkInterface.h b/src/Blocks/ChunkInterface.h index dea9d7c7e..d5f1f1273 100644 --- a/src/Blocks/ChunkInterface.h +++ b/src/Blocks/ChunkInterface.h @@ -37,9 +37,9 @@ public: /** Sets the block at the specified coords to the specified value. Full processing, incl. updating neighbors, is performed. */ - void SetBlock(cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) + void SetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) { - m_ChunkMap->SetBlock(a_WorldInterface, a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta); + m_ChunkMap->SetBlock(a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta); } void SetBlockMeta(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_MetaData) |