From 644ef14812a8c3ebffa9efc9501e2c826f341f1d Mon Sep 17 00:00:00 2001 From: joe Date: Sun, 1 Dec 2024 01:32:26 +0000 Subject: [PATCH] Rename lambda parameter from minecraft -> client --- .../fabric/test/base/client/FabricClientTestHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric-api-base/src/testmodClient/java/net/fabricmc/fabric/test/base/client/FabricClientTestHelper.java b/fabric-api-base/src/testmodClient/java/net/fabricmc/fabric/test/base/client/FabricClientTestHelper.java index f49fe9ee2a..79e194fb77 100644 --- a/fabric-api-base/src/testmodClient/java/net/fabricmc/fabric/test/base/client/FabricClientTestHelper.java +++ b/fabric-api-base/src/testmodClient/java/net/fabricmc/fabric/test/base/client/FabricClientTestHelper.java @@ -220,7 +220,7 @@ public static void runOnClient(FailableConsumer T computeOnClient(FailableFunction action) throws E { MutableObject result = new MutableObject<>(); - runOnClient(minecraft -> result.setValue(action.apply(minecraft))); + runOnClient(client -> result.setValue(action.apply(client))); return result.getValue(); } }