From 5aad42a4d0b867f043bc1869f69814f67666003c Mon Sep 17 00:00:00 2001 From: cflep <62251178+cflep@users.noreply.github.com> Date: Tue, 1 Dec 2020 02:02:19 +0100 Subject: Light the nether portal when switching dimensions (#5062) * Fixes #5007 --- src/NetherPortalScanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetherPortalScanner.cpp b/src/NetherPortalScanner.cpp index 292b7f136..69a009fa2 100644 --- a/src/NetherPortalScanner.cpp +++ b/src/NetherPortalScanner.cpp @@ -264,7 +264,7 @@ void cNetherPortalScanner::BuildNetherPortal(Vector3i a_Location, Direction a_Di } // Fill the frame (place a fire in the bottom) - m_World.SetBlock(x + 1, y + 1, z + 1, E_BLOCK_FIRE, 0); + m_World.PlaceBlock(Vector3(x + 1, y + 1, z + 1), E_BLOCK_FIRE, 0); } -- cgit v1.2.3