Show locked item names
This commit is contained in:
@@ -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) : "???");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user