From ab7bc3fb34214ca2e950fd6d6311a87897df0ad7 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Sun, 14 May 2023 16:20:43 -0700 Subject: Remove javadoc that doesn't apply to Paper (#9206) --- .../api/0166-Add-ItemStack-Recipe-API-helper-methods.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/api/0166-Add-ItemStack-Recipe-API-helper-methods.patch b/patches/api/0166-Add-ItemStack-Recipe-API-helper-methods.patch index fe9311b8f9..7c3630854f 100644 --- a/patches/api/0166-Add-ItemStack-Recipe-API-helper-methods.patch +++ b/patches/api/0166-Add-ItemStack-Recipe-API-helper-methods.patch @@ -8,6 +8,19 @@ Allows using ExactChoice Recipes with easier methods Redirects some of upstream's APIs to these new methods to avoid usage of magic values and the deprecated RecipeChoice#getItemStack +diff --git a/src/main/java/org/bukkit/inventory/RecipeChoice.java b/src/main/java/org/bukkit/inventory/RecipeChoice.java +index 90208bc96085f05a3b657b9467b1670d00b03104..523818cbb0d6c90481ec97123e7fe0e2ff4eea14 100644 +--- a/src/main/java/org/bukkit/inventory/RecipeChoice.java ++++ b/src/main/java/org/bukkit/inventory/RecipeChoice.java +@@ -146,8 +146,6 @@ public interface RecipeChoice extends Predicate, Cloneable { + /** + * Represents a choice that will be valid only one of the stacks is exactly + * matched (aside from stack size). +- *
+- * Only valid for shaped recipes + */ + public static class ExactChoice implements RecipeChoice { + diff --git a/src/main/java/org/bukkit/inventory/ShapedRecipe.java b/src/main/java/org/bukkit/inventory/ShapedRecipe.java index be68263386a8faea7744f4de75d484e9358c87df..c2d224b6472a65cd362e1ab55ce7e3d0b5a3befc 100644 --- a/src/main/java/org/bukkit/inventory/ShapedRecipe.java -- cgit v1.2.3