Skip to content

Commit 7e690c7

Browse files
committed
Fix hide condition for useCustomRenderer setting
1 parent eb687a1 commit 7e690c7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/main/kotlin/org/polyfrost/glintcolorizer/GlintColorizer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ object GlintColorizer
4242
const val VER: String = "@MOD_VERSION@"
4343
const val ID: String = "@MOD_ID@"
4444

45-
//#if FORGE-LIKE
45+
//#if FORGE-LIKE
4646
@Mod.EventHandler
4747
fun onInit(event: FMLInitializationEvent?) {
4848
//#elseif FABRIC

src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ object GlintConfig : Config(
1818
const val OLD_GLINT_COLOR = -10407781
1919

2020
init {
21-
hideIf("useCustomRenderer", "<1.17")
21+
hideIf("useCustomRenderer") {
22+
//#if MC < 1.17
23+
true
24+
//#else
25+
//$$ false
26+
//#endif
27+
}
2228
}
2329

2430
@Switch(

0 commit comments

Comments
 (0)