From 74f5d100222f2e287eb9d2fe53bed8e7d9ae61d1 Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Sat, 14 Dec 2024 16:57:38 +0100 Subject: [PATCH] Formatting --- .../locators/NeoForgeDevProvider.java | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/loader/src/main/java/net/neoforged/fml/loading/moddiscovery/locators/NeoForgeDevProvider.java b/loader/src/main/java/net/neoforged/fml/loading/moddiscovery/locators/NeoForgeDevProvider.java index 99554b55b..c13e08e27 100644 --- a/loader/src/main/java/net/neoforged/fml/loading/moddiscovery/locators/NeoForgeDevProvider.java +++ b/loader/src/main/java/net/neoforged/fml/loading/moddiscovery/locators/NeoForgeDevProvider.java @@ -9,6 +9,14 @@ import cpw.mods.jarhandling.JarContents; import cpw.mods.jarhandling.JarContentsBuilder; import cpw.mods.jarhandling.SecureJar; +import java.io.File; +import java.nio.file.Path; +import java.util.Arrays; +import java.util.HashSet; +import java.util.List; +import java.util.Set; +import java.util.jar.Attributes; +import java.util.stream.Stream; import net.neoforged.fml.loading.FMLLoader; import net.neoforged.fml.loading.moddiscovery.ModJarMetadata; import net.neoforged.fml.loading.moddiscovery.readers.JarModsDotTomlModFileReader; @@ -21,15 +29,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.io.File; -import java.nio.file.Path; -import java.util.Arrays; -import java.util.HashSet; -import java.util.List; -import java.util.Set; -import java.util.jar.Attributes; -import java.util.stream.Stream; - /** * Provides the Minecraft and NeoForge mods in a NeoForge dev environment. */ @@ -135,7 +134,7 @@ private void loadMaskedFiles(JarContents minecraftJar, Set maskedPaths) } private static String[] getNeoForgeSpecificPathPrefixes() { - return new String[]{"net/neoforged/neoforge/", "META-INF/services/", "META-INF/coremods.json", JarModsDotTomlModFileReader.MODS_TOML}; + return new String[] { "net/neoforged/neoforge/", "META-INF/services/", "META-INF/coremods.json", JarModsDotTomlModFileReader.MODS_TOML }; } @Override