From 892836cff589239a87234f81520a7e847e57fc0d Mon Sep 17 00:00:00 2001 From: Su5eD Date: Wed, 7 Aug 2024 14:18:20 +0200 Subject: [PATCH] Move progress bars --- src/main/java/org/sinytra/connector/ConnectorEarlyLoader.java | 4 ++-- src/mod/java/org/sinytra/connector/mod/ConnectorLoader.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/sinytra/connector/ConnectorEarlyLoader.java b/src/main/java/org/sinytra/connector/ConnectorEarlyLoader.java index 6c288a4..cede668 100644 --- a/src/main/java/org/sinytra/connector/ConnectorEarlyLoader.java +++ b/src/main/java/org/sinytra/connector/ConnectorEarlyLoader.java @@ -99,7 +99,7 @@ public static void init() { } LOGGER.debug("Starting early connector loader setup"); - ProgressMeter progress = StartupNotificationManager.addProgressBar("[Connector] Early Setup", 0); + ProgressMeter progress = StartupNotificationManager.prependProgressBar("[Connector] Early Setup", 0); try { List hiddenMods = ConnectorConfig.INSTANCE.get().hiddenMods(); // Find all connector loader mods @@ -134,7 +134,7 @@ public static void setup() { public static void preLaunch() { LOGGER.debug("Running prelaunch entrypoint"); - ProgressMeter progress = StartupNotificationManager.addProgressBar("[Connector] PreLaunch", 0); + ProgressMeter progress = StartupNotificationManager.prependProgressBar("[Connector] PreLaunch", 0); try { // Invoke prelaunch entrypoint FabricLoader.getInstance().invokeEntrypoints("preLaunch", PreLaunchEntrypoint.class, PreLaunchEntrypoint::onPreLaunch); diff --git a/src/mod/java/org/sinytra/connector/mod/ConnectorLoader.java b/src/mod/java/org/sinytra/connector/mod/ConnectorLoader.java index 7842d89..112612e 100644 --- a/src/mod/java/org/sinytra/connector/mod/ConnectorLoader.java +++ b/src/mod/java/org/sinytra/connector/mod/ConnectorLoader.java @@ -44,7 +44,7 @@ public static void load() { } loading = true; - ProgressMeter progress = StartupNotificationManager.addProgressBar("[Connector] Loading mods", 0); + ProgressMeter progress = StartupNotificationManager.prependProgressBar("[Connector] Loading mods", 0); try { LazyEntityAttributes.inject();