Display mod version (#10358)

This commit is contained in:
MEEPofFaith
2024-12-05 06:55:55 -08:00
committed by GitHub
parent b80c8762cc
commit bed8361a03
2 changed files with 7 additions and 0 deletions

View File

@@ -415,6 +415,12 @@ public class ModsDialog extends BaseDialog{
desc.add(mod.meta.author).growX().wrap().padTop(2);
desc.row();
}
if(mod.meta.version != null){
desc.add("@mod.version").padRight(10).color(Color.gray).top();
desc.row();
desc.add(mod.meta.version).growX().wrap().padTop(2);
desc.row();
}
if(mod.meta.description != null){
desc.add("@editor.description").padRight(10).color(Color.gray).top();
desc.row();