mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-14 10:50:58 -07:00
Hide isHidden content in mod info
This commit is contained in:
parent
40ec7fd6fc
commit
e564602fd1
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ public class ModsDialog extends BaseDialog{
|
|||
|
||||
}).width(400f);
|
||||
|
||||
Seq<UnlockableContent> all = Seq.with(content.getContentMap()).<Content>flatten().select(c -> c.minfo.mod == mod && c instanceof UnlockableContent).as();
|
||||
Seq<UnlockableContent> all = Seq.with(content.getContentMap()).<Content>flatten().select(c -> c.minfo.mod == mod && c instanceof UnlockableContent u && !u.isHidden()).as();
|
||||
if(all.any()){
|
||||
dialog.cont.row();
|
||||
dialog.cont.button("@mods.viewcontent", Icon.book, () -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue