diff options
author | Falkreon <falkreon@gmail.com> | 2019-09-14 21:50:18 -0500 |
---|---|---|
committer | Falkreon <falkreon@gmail.com> | 2019-09-14 21:50:18 -0500 |
commit | bb4806d09e06758a765773be55a728dae6c9e541 (patch) | |
tree | 4b1d0c539ecfc3687e664fe7262f1e78079aca07 /GuiTest | |
parent | 07495df1f9f39f730e88060cd30c9e14c9721b19 (diff) | |
download | LibGui-bb4806d09e06758a765773be55a728dae6c9e541.tar.gz LibGui-bb4806d09e06758a765773be55a728dae6c9e541.tar.bz2 LibGui-bb4806d09e06758a765773be55a728dae6c9e541.zip |
More snapshot work
Diffstat (limited to 'GuiTest')
-rw-r--r-- | GuiTest/gradle.properties | 8 | ||||
-rw-r--r-- | GuiTest/src/main/java/io/github/cottonmc/test/GuiItem.java | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/GuiTest/gradle.properties b/GuiTest/gradle.properties index 8dea5d3..9ae5f8f 100644 --- a/GuiTest/gradle.properties +++ b/GuiTest/gradle.properties @@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use - minecraft_version=19w35a - yarn_mappings=19w35a+build.1 - loader_version=0.6.1+build.164 + minecraft_version=19w37a + yarn_mappings=19w37a+build.9 + loader_version=0.6.1+build.165 # Mod Properties mod_version = 1.3.1 @@ -14,5 +14,5 @@ org.gradle.jvmargs=-Xmx1G # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric - fabric_version=0.3.2+build.217-1.15 + fabric_version=0.3.2+build.230-1.15 jankson_version=1.0.0+j1.1.2 diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/GuiItem.java b/GuiTest/src/main/java/io/github/cottonmc/test/GuiItem.java index b777361..37b98f6 100644 --- a/GuiTest/src/main/java/io/github/cottonmc/test/GuiItem.java +++ b/GuiTest/src/main/java/io/github/cottonmc/test/GuiItem.java @@ -25,6 +25,6 @@ public class GuiItem extends Item { MinecraftClient.getInstance().openScreen(new CottonClientScreen(new TestClientGui())); } - return new TypedActionResult<ItemStack>(ActionResult.SUCCESS, (hand==Hand.MAIN_HAND) ? player.getMainHandStack() : player.getOffHandStack()); + return new TypedActionResult<ItemStack>(ActionResult.SUCCESS, (hand==Hand.MAIN_HAND) ? player.getMainHandStack() : player.getOffHandStack(), false); } } |