Add message for mods that have hidden = true (#4717)

* Multiplayer compatability message

* Make more sense?
This commit is contained in:
MEEP of Faith 2021-03-05 08:17:55 -08:00 committed by GitHub
parent b6c645b701
commit d34dd0c603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,7 @@ mod.installed = [[Installed]
mod.display = [gray]Mod:[orange] {0}
mod.enabled = [lightgray]Enabled
mod.disabled = [scarlet]Disabled
mod.multiplayercompatable = Multiplayer Compatible
mod.disable = Disable
mod.content = Content:
mod.delete.error = Unable to delete mod. File may be in use.

View File

@ -278,6 +278,9 @@ public class ModsDialog extends BaseDialog{
}else if(mod.hasContentErrors()){
text.labelWrap("@mod.erroredcontent").growX();
text.row();
}else if(mod.meta.hidden){
text.labelWrap("@mod.multiplayercompatable").growX();
text.row();
}
}).top().growX();