From 866f977b2e7db0d220dc51200ce053eafd0bcc5a Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Mon, 15 Apr 2024 21:46:30 +0900 Subject: [PATCH] whoops --- .../test/content/registry/ContentRegistryGameTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryGameTest.java b/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryGameTest.java index 37918851fe..149b9e87dd 100644 --- a/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryGameTest.java +++ b/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryGameTest.java @@ -67,7 +67,7 @@ public void testFlattenableBlockRegistry(TestContext context) { context.complete(); } - @GameTest(templateName = FabricGameTest.EMPTY_STRUCTURE, tickLimit = 120) + @GameTest(templateName = FabricGameTest.EMPTY_STRUCTURE, tickLimit = 110) public void testFuelRegistry(TestContext context) { BlockPos pos = new BlockPos(0, 1, 0); // Use blast furnace to make it cook faster (100 ticks / 200 ticks) @@ -89,9 +89,9 @@ public void testFuelRegistry(TestContext context) { hopper.setStack(0, new ItemStack(Items.OBSIDIAN, 2)); hopper.setStack(1, new ItemStack(Items.DIRT)); - context.waitAndRun(110, () -> { + context.waitAndRun(105, () -> { context.assertTrue(hopper.isEmpty(), "fuel hopper should have been emptied"); - context.assertTrue(ItemStack.areEqual(hopper.getStack(2), new ItemStack(Items.IRON_INGOT, 1)), "one iron ingot should have been smelted"); + context.assertTrue(ItemStack.areEqual(furnace.getStack(2), new ItemStack(Items.IRON_INGOT, 1)), "one iron ingot should have been smelted"); context.complete(); }); }