From bb4806d09e06758a765773be55a728dae6c9e541 Mon Sep 17 00:00:00 2001 From: Falkreon Date: Sat, 14 Sep 2019 21:50:18 -0500 Subject: More snapshot work --- GuiTest/src/main/java/io/github/cottonmc/test/GuiItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GuiTest/src/main/java/io') 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(ActionResult.SUCCESS, (hand==Hand.MAIN_HAND) ? player.getMainHandStack() : player.getOffHandStack()); + return new TypedActionResult(ActionResult.SUCCESS, (hand==Hand.MAIN_HAND) ? player.getMainHandStack() : player.getOffHandStack(), false); } } -- cgit