diff --git a/gradle.properties b/gradle.properties index 52824fbe5..fbd61310c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,10 +9,10 @@ author = masa mod_file_name = tweakeroo-fabric # Current mod version -mod_version = 0.22.1 +mod_version = 0.22.2 # Required malilib version -malilib_version = a795f3d875 +malilib_version = 374820e625 # Minecraft, Fabric Loader and API and mappings versions minecraft_version_out = 1.21.3 diff --git a/src/main/java/fi/dy/masa/tweakeroo/config/FeatureToggle.java b/src/main/java/fi/dy/masa/tweakeroo/config/FeatureToggle.java index edfd4ab91..639d45108 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/config/FeatureToggle.java +++ b/src/main/java/fi/dy/masa/tweakeroo/config/FeatureToggle.java @@ -258,18 +258,15 @@ public String getConfigGuiDisplayName() name = GuiBase.TXT_GOLD + name + GuiBase.TXT_RST; } - System.out.printf("FeatureToggle#getConfigGuiDisplayName(): translatedName [%s] // test [%s]\n", this.translatedName, name); + //System.out.printf("FeatureToggle#getConfigGuiDisplayName(): translatedName [%s] // test [%s]\n", this.translatedName, name); return name; } @Override public String getPrettyName() { - String test = StringUtils.getTranslatedOrFallback(this.prettyName, - !this.prettyName.isEmpty() ? this.prettyName : StringUtils.splitCamelCase(this.name.substring(5))); - - System.out.printf("FeatureToggle#getPrettyName(): prettyName [%s] // test [%s]\n", this.prettyName, test); - return test; + return StringUtils.getTranslatedOrFallback(this.prettyName, + !this.prettyName.isEmpty() ? this.prettyName : StringUtils.splitCamelCase(this.name.substring(5))); } @Override @@ -314,7 +311,7 @@ public String getComment() return comment + "\n" + StringUtils.translate("tweakeroo.label.config_comment.single_player_only"); } - System.out.printf("FeatureToggle#getComment(): comment [%s] // test [%s]\n", this.comment, comment); + //System.out.printf("FeatureToggle#getComment(): comment [%s] // test [%s]\n", this.comment, comment); return comment; }