summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-28 16:59:51 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-28 16:59:51 +0200
commit421588d25dd4e2e293d48daece27444bfbc318bf (patch)
treeb198d998bb5a1c6a8de98aa58727be335a5bc9cb /src/Blocks
parentAdd throw sound and fix arrow server crash. (diff)
downloadcuberite-421588d25dd4e2e293d48daece27444bfbc318bf.tar
cuberite-421588d25dd4e2e293d48daece27444bfbc318bf.tar.gz
cuberite-421588d25dd4e2e293d48daece27444bfbc318bf.tar.bz2
cuberite-421588d25dd4e2e293d48daece27444bfbc318bf.tar.lz
cuberite-421588d25dd4e2e293d48daece27444bfbc318bf.tar.xz
cuberite-421588d25dd4e2e293d48daece27444bfbc318bf.tar.zst
cuberite-421588d25dd4e2e293d48daece27444bfbc318bf.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockFire.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockFire.h b/src/Blocks/BlockFire.h
index f9f32eb50..147e4b53e 100644
--- a/src/Blocks/BlockFire.h
+++ b/src/Blocks/BlockFire.h
@@ -36,8 +36,8 @@ public:
- Loop through boundary variables, and fill with portal blocks based on Dir with meta from Dir
*/
- a_BlockY--; // Because we want the block below the fire
- FindAndSetPortalFrame(a_BlockX, a_BlockY, a_BlockZ, a_ChunkInterface, a_WorldInterface);
+ // a_BlockY - 1: Because we want the block below the fire
+ FindAndSetPortalFrame(a_BlockX, a_BlockY - 1, a_BlockZ, a_ChunkInterface, a_WorldInterface);
}
virtual void OnDigging(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override