aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java2
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java
index bfe64a2..a18d706 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java
@@ -85,7 +85,7 @@ public class WItemSlot extends WWidget {
private final List<ValidatedSlot> peers = new ArrayList<>();
@Nullable
@Environment(EnvType.CLIENT)
- private BackgroundPainter backgroundPainter = null;
+ private BackgroundPainter backgroundPainter;
@Nullable
private Icon icon = null;
private boolean iconOnlyPaintedForEmptySlots = false;
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java
index 63ccdea..c1aef2a 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WPanel.java
@@ -25,7 +25,7 @@ public abstract class WPanel extends WWidget {
*/
protected final List<WWidget> children = new WidgetList(this, new ArrayList<>());
@Environment(EnvType.CLIENT)
- private BackgroundPainter backgroundPainter = null;
+ private BackgroundPainter backgroundPainter;
/**
* Removes the widget from this panel.