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); }