This commit is contained in:
Anuken
2020-12-27 10:16:34 -05:00
parent c02d603a7a
commit 16778ea16c
4 changed files with 14 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ public class DatabaseDialog extends BaseDialog{
for(int j = 0; j < allContent.length; j++){
ContentType type = ContentType.all[j];
Seq<Content> array = allContent[j].select(c -> c instanceof UnlockableContent && !((UnlockableContent)c).isHidden());
Seq<Content> array = allContent[j].select(c -> c instanceof UnlockableContent u && (!u.isHidden() || u.node() != null));
if(array.size == 0) continue;
table.add("@content." + type.name() + ".name").growX().left().color(Pal.accent);