diff options
| author | shedaniel <daniel@shedaniel.me> | 2019-12-12 22:06:26 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2019-12-12 22:06:26 +0800 |
| commit | cbfc32fa44fec1ed91c7ff811a4755a504c46082 (patch) | |
| tree | d8bf9030a60111dad2e6932d08241f46206f1b17 /src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java | |
| parent | 652c00c4017223fa02d63eba474ba35faa3e12c9 (diff) | |
| download | RoughlyEnoughItems-cbfc32fa44fec1ed91c7ff811a4755a504c46082.tar.gz RoughlyEnoughItems-cbfc32fa44fec1ed91c7ff811a4755a504c46082.tar.bz2 RoughlyEnoughItems-cbfc32fa44fec1ed91c7ff811a4755a504c46082.zip | |
3.2.19
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java index e542ec26b..315f272a6 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java @@ -8,7 +8,7 @@ package me.shedaniel.rei.gui.widget; import com.mojang.blaze3d.systems.RenderSystem; import me.shedaniel.math.api.Point; import me.shedaniel.math.api.Rectangle; -import me.shedaniel.rei.api.ConfigManager; +import me.shedaniel.rei.api.ConfigObject; import me.shedaniel.rei.impl.ScreenHelper; import net.minecraft.client.gui.Element; import net.minecraft.client.sound.PositionedSoundInstance; @@ -58,7 +58,7 @@ public abstract class ButtonWidget extends WidgetWithBounds { if (!this.enabled) { int_1 = 0; } else if (boolean_1) { - int_1 = ConfigManager.getInstance().getConfig().isLighterButtonHover() ? 4 : 3; // 2 is the old blue highlight, 3 is the 1.15 outline, 4 is the 1.15 online + light hover + int_1 = ConfigObject.getInstance().isLighterButtonHover() ? 4 : 3; // 2 is the old blue highlight, 3 is the 1.15 outline, 4 is the 1.15 online + light hover } return int_1; |
