aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-10-18 16:34:40 +0300
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-10-18 16:35:42 +0300
commit09ff25c885e4164125cccf2f65e2cf3e72f3fad6 (patch)
treed53d89dc1a4e6adadbb5757e423f415d41588b9e
parent7a0800c8a9201304583fed6ed0b5a4fd5e25e9f4 (diff)
downloadLibGui-09ff25c885e4164125cccf2f65e2cf3e72f3fad6.tar.gz
LibGui-09ff25c885e4164125cccf2f65e2cf3e72f3fad6.tar.bz2
LibGui-09ff25c885e4164125cccf2f65e2cf3e72f3fad6.zip
Update dependencies, bump version to 3.2.0
-rw-r--r--gradle.properties8
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/icon/ItemIcon.java2
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)