From e2db46ecad6f774d65c1f0f6ce822566590f2195 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Sun, 14 Jan 2024 13:18:07 +0200 Subject: WSlider: Fix client-only field having an initialiser --- src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java index c4c3877..1bf3686 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java @@ -24,7 +24,7 @@ public class WSlider extends WAbstractSlider { @Environment(EnvType.CLIENT) @Nullable - private BackgroundPainter backgroundPainter = null; + private BackgroundPainter backgroundPainter; public WSlider(int min, int max, Axis axis) { super(min, max, axis); -- cgit