summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockDoor.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-12 19:07:20 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-12 19:07:20 +0200
commitfcf558173e3bb9b2213c610815f82088e7541a1e (patch)
treee5a4d860acbd2dd5c8cff6adc33ff80ba5c663a7 /src/Blocks/BlockDoor.cpp
parentOnly place farmland if no block is upper than dirt/grass. (diff)
downloadcuberite-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 '')
-rw-r--r--src/Blocks/BlockDoor.cpp2
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);
}