Show locked item names

This commit is contained in:
Anuken
2023-06-13 09:29:21 -04:00
parent 4721086a8e
commit 1d358a3c84

View File

@@ -26,7 +26,7 @@ public class Objectives{
public String display(){ public String display(){
return Core.bundle.format("requirement.research", return Core.bundle.format("requirement.research",
//TODO broken for multi tech nodes. //TODO broken for multi tech nodes.
(content.techNode == null || content.techNode.parent == null || content.techNode.parent.content.unlocked()) && !(content instanceof Item) ? (content.techNode == null || content.techNode.parent == null || content.techNode.parent.content.unlocked()) ?
(content.emoji() + " " + content.localizedName) : "???"); (content.emoji() + " " + content.localizedName) : "???");
} }
} }