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/BlockDoor.cpp | |
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/BlockDoor.cpp')
-rw-r--r-- | src/Blocks/BlockDoor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockDoor.cpp b/src/Blocks/BlockDoor.cpp index 1204debab..1a277f071 100644 --- a/src/Blocks/BlockDoor.cpp +++ b/src/Blocks/BlockDoor.cpp @@ -102,7 +102,7 @@ void cBlockDoorHandler::OnPlacedByPlayer( { a_TopBlockMeta = 9; } - a_ChunkInterface.SetBlock(a_WorldInterface, a_BlockX, a_BlockY + 1, a_BlockZ, m_BlockType, a_TopBlockMeta); + a_ChunkInterface.SetBlock(a_BlockX, a_BlockY + 1, a_BlockZ, m_BlockType, a_TopBlockMeta); } |