From b236d93eaab566bcb2516c2f5010909e43df2093 Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Sun, 14 Apr 2024 15:26:04 +0900 Subject: [PATCH] checkstyle --- .../fabric/test/content/registry/ContentRegistryTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryTest.java b/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryTest.java index ed51964b4a..ecd347be53 100644 --- a/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryTest.java +++ b/fabric-content-registries-v0/src/testmod/java/net/fabricmc/fabric/test/content/registry/ContentRegistryTest.java @@ -164,6 +164,7 @@ public void onInitialize() { builder.registerPotionType(dirtyPotion); builder.registerItemRecipe(Items.POTION, Ingredient.fromTag(ItemTags.DIRT), dirtyPotion); builder.registerPotionRecipe(Potions.AWKWARD, Ingredient.fromTag(ItemTags.SMALL_FLOWERS), Potions.HEALING); + if (builder.getEnabledFeatures().contains(FeatureFlags.BUNDLE)) { builder.registerPotionRecipe(Potions.AWKWARD, Ingredient.ofItems(Items.BUNDLE), Potions.LUCK); }