From 3da4862fee4a445842f338d6fe5f7d0643874163 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 10 Sep 2024 15:50:06 +0200 Subject: formatting --- src/main/java/at/hannibal2/skyhanni/utils/system/PlatformUtils.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/system/PlatformUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/system/PlatformUtils.kt index 4828bc2af..07fc8ed48 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/system/PlatformUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/system/PlatformUtils.kt @@ -11,9 +11,7 @@ import net.minecraftforge.fml.common.ModContainer object PlatformUtils { private val modPackages: Map by lazy { - Loader.instance().modList - .flatMap { mod -> mod.ownedPackages.map { it to mod } } - .toMap() + Loader.instance().modList.flatMap { mod -> mod.ownedPackages.map { it to mod } }.toMap() } val isDevEnvironment: Boolean by lazy { -- cgit