aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/system/PlatformUtils.kt4
1 files changed, 1 insertions, 3 deletions
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<String, ModContainer> 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 {