diff --git a/src/world/WorldManager.php b/src/world/WorldManager.php index b09fe2ace..5632c960b 100644 --- a/src/world/WorldManager.php +++ b/src/world/WorldManager.php @@ -351,7 +351,7 @@ class WorldManager{ $tickMs = (microtime(true) - $worldTime) * 1000; $world->tickRateTime = $tickMs; if($tickMs >= Server::TARGET_SECONDS_PER_TICK * 1000){ - $world->getLogger()->debug(sprintf("Tick took too long: %gms (%g ticks)", $tickMs, round($tickMs / Server::TARGET_SECONDS_PER_TICK, 2))); + $world->getLogger()->debug(sprintf("Tick took too long: %gms (%g ticks)", $tickMs, round($tickMs / (Server::TARGET_SECONDS_PER_TICK * 1000), 2))); } }