Better json mod warning logging

This commit is contained in:
Anuken
2022-05-05 22:31:27 -04:00
parent f7175540f8
commit a7f84e8690
4 changed files with 11 additions and 5 deletions

View File

@@ -246,9 +246,9 @@ public class ModsDialog extends BaseDialog{
text.add("[accent]" + Strings.stripColors(item.meta.displayName()) + "\n" +
(shortDesc.length() > 0 ? "[lightgray]" + shortDesc + "\n" : "")
+ "[gray]v" + Strings.stripColors(trimText(item.meta.version))
+ (item.enabled() || hideDisabled ? "" : "\n" + Core.bundle.get("mod.disabled") + ""))
//so does anybody care about version?
//+ "[gray]v" + Strings.stripColors(trimText(item.meta.version)) + "\n"
+ (item.enabled() || hideDisabled ? "" : Core.bundle.get("mod.disabled") + ""))
.wrap().top().width(300f).growX().left();
text.row();