aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2024-01-14 13:18:07 +0200
committerJuuz <6596629+Juuxel@users.noreply.github.com>2024-01-14 13:25:19 +0200
commite2db46ecad6f774d65c1f0f6ce822566590f2195 (patch)
treeeca87b5bb984bd9885b88b13c89526df7c01375b /src/main/java
parentb5e56dd0a9f816e33e8f35b724270536e9763090 (diff)
downloadLibGui-e2db46ecad6f774d65c1f0f6ce822566590f2195.tar.gz
LibGui-e2db46ecad6f774d65c1f0f6ce822566590f2195.tar.bz2
LibGui-e2db46ecad6f774d65c1f0f6ce822566590f2195.zip
WSlider: Fix client-only field having an initialiser
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WSlider.java2
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);