summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 4bf4557d9..c9bd1dbcf 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -684,21 +684,6 @@ void cChunk::SpawnMobs(cMobSpawner & a_MobSpawner)
void cChunk::Tick(std::chrono::milliseconds a_Dt)
{
- const auto ShouldTick = ShouldBeTicked();
-
- // If we are not valid, tick players and bailout
- if (!ShouldTick)
- {
- for (const auto & Entity : m_Entities)
- {
- if (Entity->IsPlayer())
- {
- Entity->Tick(a_Dt, *this);
- }
- }
- return;
- }
-
TickBlocks();
// Tick all block entities in this chunk: