mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-29 04:28:21 +01:00
Rounded extensions loading time for readability purpose
This commit is contained in:
parent
8612245ff9
commit
ae1d089603
@ -607,7 +607,8 @@ public class MinecraftServer {
|
||||
extensionManager.getExtensions().forEach(Extension::initialize);
|
||||
extensionManager.getExtensions().forEach(Extension::postInitialize);
|
||||
|
||||
LOGGER.info("Extensions loaded in " + (t1 + System.nanoTime()) / 1_000_000D + "ms");
|
||||
final double loadTime = MathUtils.round((t1 + System.nanoTime()) / 1_000_000D, 2);
|
||||
LOGGER.info("Extensions loaded in " + loadTime + "ms");
|
||||
LOGGER.info("Minestom server started successfully.");
|
||||
|
||||
MinecraftServer.started = true;
|
||||
|
Loading…
Reference in New Issue
Block a user