mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-01 05:58:00 +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::initialize);
|
||||||
extensionManager.getExtensions().forEach(Extension::postInitialize);
|
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.");
|
LOGGER.info("Minestom server started successfully.");
|
||||||
|
|
||||||
MinecraftServer.started = true;
|
MinecraftServer.started = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user