summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCauldron.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 14:22:50 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 14:22:50 +0200
commit01f38d883602045e84fdf98bf3395e97608d9aad (patch)
treea20b433772cc2d388a0972f6a78850a719c8378c /src/Blocks/BlockCauldron.h
parentMerge remote-tracking branch 'origin/master' into portals (diff)
downloadcuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.gz
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.bz2
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.lz
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.xz
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.zst
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockCauldron.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockCauldron.h b/src/Blocks/BlockCauldron.h
index 8b5cd9ccb..5ec776df6 100644
--- a/src/Blocks/BlockCauldron.h
+++ b/src/Blocks/BlockCauldron.h
@@ -61,7 +61,7 @@ public:
virtual void OnUpdate(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_PluginInterface, cChunk & a_Chunk, int a_RelX, int a_RelY, int a_RelZ) override
{
- if (!a_WorldInterface.IsWeatherWet())
+ if (IsBiomeNoDownfall(a_Chunk.GetBiomeAt(a_RelX, a_RelZ)) || !a_WorldInterface.IsWeatherWet())
{
return;
}