diff options
Diffstat (limited to 'patches/api/0299-Option-to-prevent-data-components-copy-in-smithing-r.patch')
-rw-r--r-- | patches/api/0299-Option-to-prevent-data-components-copy-in-smithing-r.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0299-Option-to-prevent-data-components-copy-in-smithing-r.patch b/patches/api/0299-Option-to-prevent-data-components-copy-in-smithing-r.patch index 425b15cca4..db16d372fa 100644 --- a/patches/api/0299-Option-to-prevent-data-components-copy-in-smithing-r.patch +++ b/patches/api/0299-Option-to-prevent-data-components-copy-in-smithing-r.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Option to prevent data components copy in smithing recipes diff --git a/src/main/java/org/bukkit/inventory/SmithingRecipe.java b/src/main/java/org/bukkit/inventory/SmithingRecipe.java -index 717878019aa78bc3ab1acadd2908567b70614320..ee462ca9fd3e0ddcdb0fffd5dba91d82fa6ad08f 100644 +index 6ad1f37372cd77c0f0534deae53125ad148caa7f..eb1c83455e198ff9d6334499be1a865db8e03a2c 100644 --- a/src/main/java/org/bukkit/inventory/SmithingRecipe.java +++ b/src/main/java/org/bukkit/inventory/SmithingRecipe.java @@ -14,6 +14,7 @@ public class SmithingRecipe implements Recipe, Keyed { @@ -18,7 +18,7 @@ index 717878019aa78bc3ab1acadd2908567b70614320..ee462ca9fd3e0ddcdb0fffd5dba91d82 * Create a smithing recipe to produce the specified result ItemStack. @@ -29,6 +30,23 @@ public class SmithingRecipe implements Recipe, Keyed { */ - @Deprecated + @Deprecated(since = "1.20.1") public SmithingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @Nullable RecipeChoice base, @Nullable RecipeChoice addition) { + // Paper start + this(key, result, base, addition, true); |