summaryrefslogtreecommitdiffstats
path: root/Tools/BiomeVisualiser/BiomeCache.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-28 15:57:34 +0100
committermadmaxoft <github@xoft.cz>2013-11-28 20:00:29 +0100
commit8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62 (patch)
tree1cf8e8627859f2e5b725f7469b88b4dc7b378c66 /Tools/BiomeVisualiser/BiomeCache.cpp
parentMerge pull request #362 from mc-server/redstonefixes (diff)
downloadcuberite-8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62.tar
cuberite-8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62.tar.gz
cuberite-8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62.tar.bz2
cuberite-8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62.tar.lz
cuberite-8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62.tar.xz
cuberite-8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62.tar.zst
cuberite-8acf0129e10f2b7ce3ec377df4b5cb95d8d93a62.zip
Diffstat (limited to '')
-rw-r--r--Tools/BiomeVisualiser/BiomeCache.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/BiomeVisualiser/BiomeCache.cpp b/Tools/BiomeVisualiser/BiomeCache.cpp
index b3c308422..7d9301d8f 100644
--- a/Tools/BiomeVisualiser/BiomeCache.cpp
+++ b/Tools/BiomeVisualiser/BiomeCache.cpp
@@ -258,6 +258,11 @@ void cBiomeCache::FilterOutItems(cItems & a_Items, int a_MinChunkX, int a_MaxChu
void cBiomeCache::thrProcessQueueItem(void)
{
+ if (m_Source == NULL)
+ {
+ return;
+ }
+
cItem * Item = NULL;
{
cCSLock Lock(m_CS);