diff --git a/loaderMod/src/main/kotlin/cf/wayzer/contentsMod/ContentsLoader.kt b/loaderMod/src/main/kotlin/cf/wayzer/contentsMod/ContentsLoader.kt index abaa463..72a73e4 100644 --- a/loaderMod/src/main/kotlin/cf/wayzer/contentsMod/ContentsLoader.kt +++ b/loaderMod/src/main/kotlin/cf/wayzer/contentsMod/ContentsLoader.kt @@ -70,6 +70,10 @@ class ContentsLoader : Mod() { Log.infoTag("ContentsLoader", "Loaded ${it.lastContent!!::class.qualifiedName} costs ${time}ms") } if (!Vars.headless) { + val timeLoadColors = measureTimeMillis { + MyContentLoader.loadColors() + } + Log.infoTag("ContentsLoader", "ContentLoader.loadColors costs ${timeLoadColors}ms") val timeLoadIcon = measureTimeMillis { MyContentLoader.contents.forEach { it.contentMap.forEach(Content::loadIcon) } }