Skip to content

Commit

Permalink
Move progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Aug 7, 2024
1 parent 2cf85c4 commit 892836c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/sinytra/connector/ConnectorEarlyLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> hiddenMods = ConnectorConfig.INSTANCE.get().hiddenMods();
// Find all connector loader mods
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 892836c

Please sign in to comment.