diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 9ff57602e..90613faf3 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -911,7 +911,10 @@ void cEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) m_TicksSinceLastVoidDamage = 0; } - if (IsMob() || IsPlayer() || IsPickup() || IsExpOrb()) + if ( + IsMob() || IsPickup() || IsExpOrb() || + (IsPlayer() && !((reinterpret_cast(this))->IsGameModeCreative() || (reinterpret_cast(this))->IsGameModeSpectator())) + ) { DetectCacti(); }