diff options
Diffstat (limited to 'src/NetherPortalScanner.cpp')
-rw-r--r-- | src/NetherPortalScanner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/NetherPortalScanner.cpp b/src/NetherPortalScanner.cpp index fe563509d..7bc2d4b7e 100644 --- a/src/NetherPortalScanner.cpp +++ b/src/NetherPortalScanner.cpp @@ -109,9 +109,9 @@ bool cNetherPortalScanner::OnAllChunksAvailable(void) // Find the bottom of this portal while (m_World->GetBlock(m_PortalLoc.x, m_PortalLoc.y, m_PortalLoc.z) == E_BLOCK_NETHER_PORTAL) { - m_PortalLoc.y -= 1.0; + m_PortalLoc.y -= 1; } - m_PortalLoc.y += 1.0; + m_PortalLoc.y += 1; // Figure out which way the portal is facing int BXP = m_World->GetBlock(m_PortalLoc.x + 1, m_PortalLoc.y, m_PortalLoc.z); |