diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2024-01-14 13:18:07 +0200 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2024-01-14 13:25:19 +0200 |
commit | e2db46ecad6f774d65c1f0f6ce822566590f2195 (patch) | |
tree | eca87b5bb984bd9885b88b13c89526df7c01375b /src | |
parent | b5e56dd0a9f816e33e8f35b724270536e9763090 (diff) | |
download | LibGui-e2db46ecad6f774d65c1f0f6ce822566590f2195.tar.gz LibGui-e2db46ecad6f774d65c1f0f6ce822566590f2195.tar.bz2 LibGui-e2db46ecad6f774d65c1f0f6ce822566590f2195.zip |
WSlider: Fix client-only field having an initialiser
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |