summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-27 01:40:40 +0100
committerGitHub <noreply@github.com>2020-03-27 01:40:40 +0100
commitf5beeccd25447ab5f88083ef5dc1a63d8db1459b (patch)
treecfe56ff32f66d13e14dd44a99d789e1645cd2c4a /src
parentFix typo in block break particle coordinate (#4555) (diff)
downloadcuberite-f5beeccd25447ab5f88083ef5dc1a63d8db1459b.tar
cuberite-f5beeccd25447ab5f88083ef5dc1a63d8db1459b.tar.gz
cuberite-f5beeccd25447ab5f88083ef5dc1a63d8db1459b.tar.bz2
cuberite-f5beeccd25447ab5f88083ef5dc1a63d8db1459b.tar.lz
cuberite-f5beeccd25447ab5f88083ef5dc1a63d8db1459b.tar.xz
cuberite-f5beeccd25447ab5f88083ef5dc1a63d8db1459b.tar.zst
cuberite-f5beeccd25447ab5f88083ef5dc1a63d8db1459b.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 7b0314ae5..c4c89890b 100644
--- a/src/Entities/Floater.cpp
+++ b/src/Entities/Floater.cpp
@@ -104,7 +104,7 @@ void cFloater::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
HandlePhysics(a_Dt, a_Chunk);
if (IsBlockWater(m_World->GetBlock(POSX_TOINT, POSY_TOINT, POSZ_TOINT))
- && (m_World->GetBlockMeta(POSX_TOINT, POSY_TOINT, POSX_TOINT) == 0))
+ && (m_World->GetBlockMeta(POSX_TOINT, POSY_TOINT, POSZ_TOINT) == 0))
{
if ((!m_CanPickupItem) && (m_AttachedMobID == cEntity::INVALID_ID)) // Check if you can't already pickup a fish and if the floater isn't attached to a mob.
{