From 09ff25c885e4164125cccf2f65e2cf3e72f3fad6 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Sun, 18 Oct 2020 16:34:40 +0300 Subject: Update dependencies, bump version to 3.2.0 --- gradle.properties | 8 ++++---- .../java/io/github/cottonmc/cotton/gui/widget/icon/ItemIcon.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gradle.properties b/gradle.properties index 7d8c858..4d0b167 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,15 +4,15 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use minecraft_version=1.16.3 - yarn_mappings=1.16.3+build.11 - loader_version=0.9.3+build.207 + yarn_mappings=1.16.3+build.47 + loader_version=0.10.2+build.210 # Mod Properties - mod_version = 3.1.0 + mod_version = 3.2.0 maven_group = io.github.cottonmc archives_base_name = LibGui # Dependencies - fabric_version=0.21.0+build.407-1.16 + fabric_version=0.24.0+build.411-1.16 jankson_version=3.0.1+j1.2.0 modmenu_version=1.14.6+build.31 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) -- cgit