Display mod version (#10358)
This commit is contained in:
@@ -144,6 +144,7 @@ mod.enabled = [lightgray]Enabled
|
|||||||
mod.disabled = [red]Disabled
|
mod.disabled = [red]Disabled
|
||||||
mod.multiplayer.compatible = [gray]Multiplayer Compatible
|
mod.multiplayer.compatible = [gray]Multiplayer Compatible
|
||||||
mod.disable = Disable
|
mod.disable = Disable
|
||||||
|
mod.version = Version:
|
||||||
mod.content = Content:
|
mod.content = Content:
|
||||||
mod.delete.error = Unable to delete mod. File may be in use.
|
mod.delete.error = Unable to delete mod. File may be in use.
|
||||||
|
|
||||||
|
|||||||
@@ -415,6 +415,12 @@ public class ModsDialog extends BaseDialog{
|
|||||||
desc.add(mod.meta.author).growX().wrap().padTop(2);
|
desc.add(mod.meta.author).growX().wrap().padTop(2);
|
||||||
desc.row();
|
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){
|
if(mod.meta.description != null){
|
||||||
desc.add("@editor.description").padRight(10).color(Color.gray).top();
|
desc.add("@editor.description").padRight(10).color(Color.gray).top();
|
||||||
desc.row();
|
desc.row();
|
||||||
|
|||||||
Reference in New Issue
Block a user