diff options
author | Mattes D <github@xoft.cz> | 2014-11-30 18:19:20 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-11-30 18:19:29 +0100 |
commit | db0f791d431a7ed690139515a42a946fc35a6a36 (patch) | |
tree | a113965b13d6df6d506e8d0735e2d924565ba19e /src | |
parent | Fixed nether ceiling (diff) | |
download | cuberite-db0f791d431a7ed690139515a42a946fc35a6a36.tar cuberite-db0f791d431a7ed690139515a42a946fc35a6a36.tar.gz cuberite-db0f791d431a7ed690139515a42a946fc35a6a36.tar.bz2 cuberite-db0f791d431a7ed690139515a42a946fc35a6a36.tar.lz cuberite-db0f791d431a7ed690139515a42a946fc35a6a36.tar.xz cuberite-db0f791d431a7ed690139515a42a946fc35a6a36.tar.zst cuberite-db0f791d431a7ed690139515a42a946fc35a6a36.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp index 84d40d53b..5fe64ea3a 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -164,6 +164,8 @@ protected: if (m_NumPrepared >= m_MaxIdx) { m_EvtFinished.Set(); + // Must return here, because "this" may have gotten deleted by the previous line + return; } // Queue another chunk, if appropriate: |