From ca0dc99028b0e79a497445d69150bbf9c47db298 Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Sat, 4 Jan 2025 16:35:22 +0100 Subject: [PATCH] Add delay to .give test for more consistent results --- src/main/java/net/wurstclient/test/GiveCmdTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/wurstclient/test/GiveCmdTest.java b/src/main/java/net/wurstclient/test/GiveCmdTest.java index 4b3df2e50f..024ddb5896 100644 --- a/src/main/java/net/wurstclient/test/GiveCmdTest.java +++ b/src/main/java/net/wurstclient/test/GiveCmdTest.java @@ -19,6 +19,7 @@ public static void testGiveCmd() { System.out.println("Testing .give command"); runWurstCommand("give diamond"); + waitForWorldTicks(1); assertOneItemInSlot(0, Items.DIAMOND); // Clean up