diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-10-18 16:34:40 +0300 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-10-18 16:35:42 +0300 |
commit | 09ff25c885e4164125cccf2f65e2cf3e72f3fad6 (patch) | |
tree | d53d89dc1a4e6adadbb5757e423f415d41588b9e /src/main/java/io | |
parent | 7a0800c8a9201304583fed6ed0b5a4fd5e25e9f4 (diff) | |
download | LibGui-09ff25c885e4164125cccf2f65e2cf3e72f3fad6.tar.gz LibGui-09ff25c885e4164125cccf2f65e2cf3e72f3fad6.tar.bz2 LibGui-09ff25c885e4164125cccf2f65e2cf3e72f3fad6.zip |
Update dependencies, bump version to 3.2.0
Diffstat (limited to 'src/main/java/io')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/icon/ItemIcon.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/icon/ItemIcon.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/icon/ItemIcon.java index 2abe617..b5fb85e 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/icon/ItemIcon.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/icon/ItemIcon.java @@ -37,7 +37,7 @@ public class ItemIcon implements Icon { * @since 3.2.0 */ public ItemIcon(Item item) { - this(Objects.requireNonNull(item, "item").getStackForRender()); + this(Objects.requireNonNull(item, "item").getDefaultStack()); } @Environment(EnvType.CLIENT) |