From 89d2c102ac54935658252fcbeedc1b02207e7e18 Mon Sep 17 00:00:00 2001 From: Technici4n <13494793+Technici4n@users.noreply.github.com> Date: Tue, 12 Dec 2023 11:45:31 +0100 Subject: [PATCH] Expect empty handler --- .../neoforge/debug/capabilities/VanillaHandlersTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/src/main/java/net/neoforged/neoforge/debug/capabilities/VanillaHandlersTests.java b/tests/src/main/java/net/neoforged/neoforge/debug/capabilities/VanillaHandlersTests.java index 9c09ae9bc1..9d3aeb124b 100644 --- a/tests/src/main/java/net/neoforged/neoforge/debug/capabilities/VanillaHandlersTests.java +++ b/tests/src/main/java/net/neoforged/neoforge/debug/capabilities/VanillaHandlersTests.java @@ -123,6 +123,7 @@ public static void testCauldronCapability(ExtendedGameTestHelper helper) { helper.assertTrue(wrapper.drain(new FluidStack(Fluids.WATER, 1000), EXECUTE).equals(new FluidStack(Fluids.WATER, 1000)), "Expected drain of 1000 water"); helper.assertBlockPresent(Blocks.CAULDRON, cauldronPos); + helper.assertTrue(wrapper.getFluidInTank(0).isEmpty(), "Expected empty handler"); // Try lava cauldron helper.setBlock(cauldronPos, Blocks.LAVA_CAULDRON);