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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -144,6 +144,7 @@ mod.enabled = [lightgray]Enabled
mod.disabled = [red]Disabled
mod.multiplayer.compatible = [gray]Multiplayer Compatible
mod.disable = Disable
mod.version = Version:
mod.content = Content:
mod.delete.error = Unable to delete mod. File may be in use.

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();