summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-21 14:07:32 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-21 14:07:32 +0100
commit8efde94e4e25dadbe8083c755bfbc780f1540b48 (patch)
treec2ba661077e3272acd4cee0a5693a5716377a062
parentUpdated the win nightbuild script with recent information. (diff)
downloadcuberite-8efde94e4e25dadbe8083c755bfbc780f1540b48.tar
cuberite-8efde94e4e25dadbe8083c755bfbc780f1540b48.tar.gz
cuberite-8efde94e4e25dadbe8083c755bfbc780f1540b48.tar.bz2
cuberite-8efde94e4e25dadbe8083c755bfbc780f1540b48.tar.lz
cuberite-8efde94e4e25dadbe8083c755bfbc780f1540b48.tar.xz
cuberite-8efde94e4e25dadbe8083c755bfbc780f1540b48.tar.zst
cuberite-8efde94e4e25dadbe8083c755bfbc780f1540b48.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Floater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Floater.cpp b/src/Entities/Floater.cpp
index 0eefa9c54..52089b776 100644
--- a/src/Entities/Floater.cpp
+++ b/src/Entities/Floater.cpp
@@ -34,7 +34,7 @@ void cFloater::SpawnOn(cClientHandle & a_Client)
void cFloater::Tick(float a_Dt, cChunk & a_Chunk)
{
HandlePhysics(a_Dt, a_Chunk);
- if (IsBlockWater(m_World->GetBlock((int) GetPosX(), (int) GetPosY(), (int) GetPosZ())))
+ if (IsBlockWater(m_World->GetBlock((int) GetPosX(), (int) GetPosY(), (int) GetPosZ())) && m_World->GetBlockMeta((int) GetPosX(), (int) GetPosY(), (int) GetPosZ()) != 0)
{
if ((!m_CanPickupItem) && (m_World->GetTickRandomNumber(100) == 0))
{