aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/gui
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2022-12-18 02:29:58 +0800
committerGitHub <noreply@github.com>2022-12-17 19:29:58 +0100
commitc5590e230195adf4dfbf3b7334bd662d03b97af1 (patch)
tree1546876dfc8158e4ce201772ce456d645d9daffd /src/main/java/gregtech/common/gui
parentfb741083378ed9db85ebcc475d2106d8bb91b49e (diff)
downloadGT5-Unofficial-c5590e230195adf4dfbf3b7334bd662d03b97af1.tar.gz
GT5-Unofficial-c5590e230195adf4dfbf3b7334bd662d03b97af1.tar.bz2
GT5-Unofficial-c5590e230195adf4dfbf3b7334bd662d03b97af1.zip
another attempt at lag fixing (#1556)
* another attempt at lag fixing Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * fix tests Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * fix tests 2/2 Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * address review Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * get rid of GT_Test Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/common/gui')
-rw-r--r--src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java b/src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java
index c3da5cb1b4..c3161b3f5e 100644
--- a/src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java
+++ b/src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java
@@ -46,7 +46,7 @@ public class SelectItemUIFactory {
private final ItemStackHandler currentDisplayItemHandler = new ItemStackHandler();
private Supplier<ItemStack> currentGetter;
- private final GT_GUIColorOverride colorOverride = new GT_GUIColorOverride("SelectItemUIFactory");
+ private final GT_GUIColorOverride colorOverride = GT_GUIColorOverride.get("SelectItemUIFactory");
private int getTextColorOrDefault(String textType, int defaultColor) {
return colorOverride.getTextColorOrDefault(textType, defaultColor);