diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-10 15:50:06 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-10 15:50:06 +0200 |
commit | 3da4862fee4a445842f338d6fe5f7d0643874163 (patch) | |
tree | 3869ccc4652fc393842b48ca5961e89c43d1e026 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 0c5d241d90d6b26c614d250e0dfff32d4ee49838 (diff) | |
download | skyhanni-3da4862fee4a445842f338d6fe5f7d0643874163.tar.gz skyhanni-3da4862fee4a445842f338d6fe5f7d0643874163.tar.bz2 skyhanni-3da4862fee4a445842f338d6fe5f7d0643874163.zip |
formatting
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/system/PlatformUtils.kt | 4 |
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 { |