mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 17:03:59 +07:00
Display mod version (#10358)
This commit is contained in:
parent
b80c8762cc
commit
bed8361a03
@ -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.
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user