diff --git a/fabric-recipe-api-v1/src/testmod/java/net/fabricmc/fabric/test/recipe/ingredient/IngredientMatchTests.java b/fabric-recipe-api-v1/src/testmod/java/net/fabricmc/fabric/test/recipe/ingredient/IngredientMatchTests.java index 1812af2cd8..2b86a73794 100644 --- a/fabric-recipe-api-v1/src/testmod/java/net/fabricmc/fabric/test/recipe/ingredient/IngredientMatchTests.java +++ b/fabric-recipe-api-v1/src/testmod/java/net/fabricmc/fabric/test/recipe/ingredient/IngredientMatchTests.java @@ -144,7 +144,7 @@ public void testComponentIngredient(TestContext context) { ItemStack requiredDataStack = new ItemStack(Items.DIAMOND_PICKAXE); requiredDataStack.set(DataComponentTypes.CUSTOM_DATA, NbtComponent.of(requiredData)); ItemStack extraDataStack = new ItemStack(Items.DIAMOND_PICKAXE); - requiredDataStack.set(DataComponentTypes.CUSTOM_DATA, NbtComponent.of(extraData)); + extraDataStack.set(DataComponentTypes.CUSTOM_DATA, NbtComponent.of(extraData)); assertEquals(true, customDataIngredient.test(requiredDataStack)); assertEquals(false, customDataIngredient.test(extraDataStack));