aboutsummaryrefslogtreecommitdiff
path: root/GuiTest/src/main/java
diff options
context:
space:
mode:
authorFalkreon <falkreon@gmail.com>2019-09-14 21:50:18 -0500
committerFalkreon <falkreon@gmail.com>2019-09-14 21:50:18 -0500
commitbb4806d09e06758a765773be55a728dae6c9e541 (patch)
tree4b1d0c539ecfc3687e664fe7262f1e78079aca07 /GuiTest/src/main/java
parent07495df1f9f39f730e88060cd30c9e14c9721b19 (diff)
downloadLibGui-bb4806d09e06758a765773be55a728dae6c9e541.tar.gz
LibGui-bb4806d09e06758a765773be55a728dae6c9e541.tar.bz2
LibGui-bb4806d09e06758a765773be55a728dae6c9e541.zip
More snapshot work
Diffstat (limited to 'GuiTest/src/main/java')
-rw-r--r--GuiTest/src/main/java/io/github/cottonmc/test/GuiItem.java2
1 files changed, 1 insertions, 1 deletions
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);
}
}