diff --git a/src/main/java/exopandora/worldhandler/gui/content/impl/ContentScoreboardObjectives.java b/src/main/java/exopandora/worldhandler/gui/content/impl/ContentScoreboardObjectives.java index 63ac168..12f7596 100644 --- a/src/main/java/exopandora/worldhandler/gui/content/impl/ContentScoreboardObjectives.java +++ b/src/main/java/exopandora/worldhandler/gui/content/impl/ContentScoreboardObjectives.java @@ -96,6 +96,13 @@ public class ContentScoreboardObjectives extends ContentScoreboard } } + String translation = "stat." + key; + + if(!translation.equals(I18n.format(translation))) + { + return I18n.format(translation); + } + if(Arrays.stream(TextFormatting.values()).map(TextFormatting::getFriendlyName).anyMatch(Predicates.equalTo(key))) { return I18n.format("gui.worldhandler.color." + key);