summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Entity.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index 9b5160cda..7e374d9ba 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -1173,6 +1173,12 @@ void cEntity::ApplyFriction(Vector3d & a_Speed, double a_SlowdownMultiplier, flo
void cEntity::TickBurning(cChunk & a_Chunk)
{
+ // If we're about to change worlds, then we can't accurately determine whether we're in lava (#3939)
+ if (m_IsWorldChangeScheduled)
+ {
+ return;
+ }
+
// Remember the current burning state:
bool HasBeenBurning = (m_TicksLeftBurning > 0);