aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/gui
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-01-02 15:26:54 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-01-02 15:26:54 +0800
commit54cd3e3a2382a61fb2aa55980763f14ed5cb9403 (patch)
tree9cb0a0f0ac1a159d489354e143bf836f9885f2c0 /src/main/java/me/shedaniel/gui
parenta75a3562b2e36ef6e6463758c3640ad03aa5bac3 (diff)
downloadRoughlyEnoughItems-54cd3e3a2382a61fb2aa55980763f14ed5cb9403.tar.gz
RoughlyEnoughItems-54cd3e3a2382a61fb2aa55980763f14ed5cb9403.tar.bz2
RoughlyEnoughItems-54cd3e3a2382a61fb2aa55980763f14ed5cb9403.zip
More Language Support
Diffstat (limited to 'src/main/java/me/shedaniel/gui')
-rw-r--r--src/main/java/me/shedaniel/gui/ConfigGui.java6
-rwxr-xr-xsrc/main/java/me/shedaniel/gui/REIRenderHelper.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/me/shedaniel/gui/ConfigGui.java b/src/main/java/me/shedaniel/gui/ConfigGui.java
index 31a1c3feb..6d67488f8 100644
--- a/src/main/java/me/shedaniel/gui/ConfigGui.java
+++ b/src/main/java/me/shedaniel/gui/ConfigGui.java
@@ -21,7 +21,7 @@ public class ConfigGui extends Gui {
protected void onInitialized() {
addButton(new KeyBindButton(997, parent.width / 2 - 20, 30, 80, 20, Core.config.recipeKeyBind, key -> {
Core.config.recipeKeyBind = key;
- ClientListener.recipeKeybind.setKey(key);
+ ClientListener.recipeKeyBind.setKey(key);
try {
Core.saveConfig();
} catch (IOException e) {
@@ -30,7 +30,7 @@ public class ConfigGui extends Gui {
}));
addButton(new KeyBindButton(997, parent.width / 2 - 20, 60, 80, 20, Core.config.usageKeyBind, key -> {
Core.config.usageKeyBind = key;
- ClientListener.useKeybind.setKey(key);
+ ClientListener.usageKeyBind.setKey(key);
try {
Core.saveConfig();
} catch (IOException e) {
@@ -39,7 +39,7 @@ public class ConfigGui extends Gui {
}));
addButton(new KeyBindButton(997, parent.width / 2 - 20, 90, 80, 20, Core.config.hideKeyBind, key -> {
Core.config.hideKeyBind = key;
- ClientListener.hideKeybind.setKey(key);
+ ClientListener.hideKeyBind.setKey(key);
try {
Core.saveConfig();
} catch (IOException e) {
diff --git a/src/main/java/me/shedaniel/gui/REIRenderHelper.java b/src/main/java/me/shedaniel/gui/REIRenderHelper.java
index a60ca45e4..f4e66808a 100755
--- a/src/main/java/me/shedaniel/gui/REIRenderHelper.java
+++ b/src/main/java/me/shedaniel/gui/REIRenderHelper.java
@@ -154,7 +154,7 @@ public class REIRenderHelper {
handled = true;
}
if (!handled) {
- return ClientListener.processGuiKeybinds(typedChar);
+ return ClientListener.processGuiKeyBinds(typedChar);
}
return handled;
}