prevent weird dev modmenu crash and update bool display

This commit is contained in:
gamma-delta 2022-11-06 12:47:28 -06:00
parent c74fffa6b7
commit 05eaaf1d2a
3 changed files with 7 additions and 4 deletions

View file

@ -62,6 +62,7 @@ public class BooleanIota extends Iota {
}
public static Component display(boolean b) {
return Component.literal(String.valueOf(b)).withStyle(b ? ChatFormatting.DARK_GREEN : ChatFormatting.DARK_RED);
return Component.literal(b ? "True" : "False")
.withStyle(b ? ChatFormatting.DARK_GREEN : ChatFormatting.DARK_RED);
}
}

View file

@ -92,6 +92,11 @@ dependencies {
modApi("com.github.Virtuoel:Pehkui:${pehkuiVersion}", {
exclude group: "net.fabricmc.fabric-api"
})
// *Something* is including an old version of modmenu with a broken mixin
// We can't figure out what it is
// so i'm just including a fresher version
modImplementation("com.terraformersmc:modmenu:4.1.0")
}
tasks.withType(JavaCompile) {

View file

@ -30,9 +30,6 @@
"cardinal-components": [
"at.petrak.hexcasting.fabric.cc.HexCardinalComponents"
],
"rei_plugins_v0": [
"at.petrak.hexcasting.fabric.interop.rei.HexREIPlugin"
],
"emi": [
"at.petrak.hexcasting.fabric.interop.emi.HexEMIPlugin"
]