From cbcd7e9d87391d327ba51ec3d6f5c0ac3f7aa825 Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Tue, 3 Dec 2024 15:20:29 +0100 Subject: [PATCH] Eclipse clean up --- src/main/java/net/wurstclient/test/WurstClientTestHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/wurstclient/test/WurstClientTestHelper.java b/src/main/java/net/wurstclient/test/WurstClientTestHelper.java index 548ba797d3..b949028a50 100644 --- a/src/main/java/net/wurstclient/test/WurstClientTestHelper.java +++ b/src/main/java/net/wurstclient/test/WurstClientTestHelper.java @@ -398,7 +398,7 @@ public static void runWurstCommand(String command) */ public static void rightClickInGame() { - submitAndWait(mc -> mc.doItemUse()); + submitAndWait(MinecraftClient::doItemUse); waitForWorldTicks(1); }