Skip to content

Commit

Permalink
add translatedName() to BooleanHotkeyGuiWrapper.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jul 11, 2024
1 parent 81f39ba commit 6e9384f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mod_version = 0.19.999-sakura.6-translations.5
# Minecraft, Fabric Loader and API and mappings versions
minecraft_version_out = 1.21
minecraft_version = 1.21
mappings_version = 1.21+build.9
mappings_version = 1.21+build.2

fabric_loader_version = 0.15.11
mod_menu_version = 11.0.0-beta.2
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package fi.dy.masa.malilib.config.options;

import javax.annotation.Nullable;
import fi.dy.masa.malilib.config.IConfigBoolean;
import fi.dy.masa.malilib.hotkeys.IKeybind;

Expand Down Expand Up @@ -33,6 +34,19 @@ public void setBooleanValue(boolean value)
this.booleanConfig.setBooleanValue(value);
}

@Override
public BooleanHotkeyGuiWrapper translatedName(String translatedName)
{
return (BooleanHotkeyGuiWrapper) super.translatedName(translatedName);
}

@Override
@Nullable
public String getTranslatedName()
{
return this.booleanConfig.getTranslatedName();
}

@Override
public boolean isModified()
{
Expand Down

0 comments on commit 6e9384f

Please sign in to comment.