summaryrefslogtreecommitdiffstats
path: root/src/NetherPortalScanner.cpp
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-24 15:54:12 +0100
committerGitHub <noreply@github.com>2020-03-24 15:54:12 +0100
commit782619e3f84568b0c98ec690a54820aba02ab6b6 (patch)
treed1ecf9a3f50f283d430b8dcf0037657b9f5f4489 /src/NetherPortalScanner.cpp
parentUpdate Core (diff)
downloadcuberite-782619e3f84568b0c98ec690a54820aba02ab6b6.tar
cuberite-782619e3f84568b0c98ec690a54820aba02ab6b6.tar.gz
cuberite-782619e3f84568b0c98ec690a54820aba02ab6b6.tar.bz2
cuberite-782619e3f84568b0c98ec690a54820aba02ab6b6.tar.lz
cuberite-782619e3f84568b0c98ec690a54820aba02ab6b6.tar.xz
cuberite-782619e3f84568b0c98ec690a54820aba02ab6b6.tar.zst
cuberite-782619e3f84568b0c98ec690a54820aba02ab6b6.zip
Diffstat (limited to '')
-rw-r--r--src/NetherPortalScanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NetherPortalScanner.cpp b/src/NetherPortalScanner.cpp
index 78cdb2f02..a4564d0f1 100644
--- a/src/NetherPortalScanner.cpp
+++ b/src/NetherPortalScanner.cpp
@@ -296,7 +296,7 @@ void cNetherPortalScanner::OnDisabled(void)
}
FLOGD("Placing player at {0}", Position);
- m_Entity->MoveToWorld(m_World, Position, true);
+ m_Entity->MoveToWorld(m_World, Position, true, false);
delete this;
}