summaryrefslogtreecommitdiffstats
path: root/src/World.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/World.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 'src/World.cpp')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index fdc0aebad..fe0be00ae 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1727,7 +1727,7 @@ bool cWorld::SetAreaBiome(const cCuboid & a_Area, EMCSBiome a_Biome)
void cWorld::SetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, bool a_SendToClients)
{
- m_ChunkMap->SetBlock(*this, a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_SendToClients);
+ m_ChunkMap->SetBlock(a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_SendToClients);
}