diff options
-rw-r--r-- | gradle.properties | 8 | ||||
-rw-r--r-- | src/main/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) |