diff --git a/src/gametest/java/carpetextra/test/DispenserWithBlock.java b/src/gametest/java/carpetextra/test/DispenserWithBlock.java index 61690fcb..86038e04 100644 --- a/src/gametest/java/carpetextra/test/DispenserWithBlock.java +++ b/src/gametest/java/carpetextra/test/DispenserWithBlock.java @@ -82,9 +82,10 @@ public void blazeMealMaxed(TestContext ctx) { ctx.pushButton(button); - ctx.addFinalTaskWithDuration(DISPENSER_DELAY, () -> { + ctx.runAtTick(DISPENSER_DELAY, () -> { checkFirstSlotHas(ctx, Items.BLAZE_POWDER, false); ctx.expectBlockProperty(lapis.up(), NetherWartBlock.AGE, NetherWartBlock.MAX_AGE); + ctx.complete(); }); }