Gracious error with missing link description keys.
This commit is contained in:
@@ -38,7 +38,8 @@ public class Links{
|
||||
public LinkEntry(String name, String link, Color color){
|
||||
this.name = name;
|
||||
this.color = color;
|
||||
this.description = Core.bundle.getNotNull("link." + name + ".description");
|
||||
String desc = Core.bundle.getOrNull("link." + name + ".description");
|
||||
this.description = desc != null ? desc : "link." + name + ".description";
|
||||
this.link = link;
|
||||
|
||||
String title = Core.bundle.getOrNull("link." + name + ".title");
|
||||
|
||||
Reference in New Issue
Block a user