From 20e4bcf624d211ac0be0cfad54d795fff2e3fec0 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Sat, 18 Nov 2023 22:11:30 +0200 Subject: WItemSlot: Fix default value of iconOnlyPaintedForEmptySlots --- src/main/java/io/github/cottonmc/cotton/gui/widget/WItemSlot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 1650e2a..f5e90ef 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 @@ -88,7 +88,7 @@ public class WItemSlot extends WWidget { private BackgroundPainter backgroundPainter = null; @Nullable private Icon icon = null; - private boolean iconOnlyPaintedForEmptySlots = true; + private boolean iconOnlyPaintedForEmptySlots = false; private Inventory inventory; private int startIndex = 0; private int slotsWide = 1; -- cgit