diff options
author | Jake Potrebic <[email protected]> | 2023-05-14 16:20:43 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-14 19:20:43 -0400 |
commit | ab7bc3fb34214ca2e950fd6d6311a87897df0ad7 (patch) | |
tree | f6f617ac78f1c1466ce01654efc12df7852fe891 | |
parent | 9daa019d6c0b03f18c57a995f6ca24aaa32f5a5a (diff) | |
download | Paper-ab7bc3fb34214ca2e950fd6d6311a87897df0ad7.tar.gz Paper-ab7bc3fb34214ca2e950fd6d6311a87897df0ad7.zip |
Remove javadoc that doesn't apply to Paper (#9206)
-rw-r--r-- | patches/api/0166-Add-ItemStack-Recipe-API-helper-methods.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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<ItemStack>, Cloneable { + /** + * Represents a choice that will be valid only one of the stacks is exactly + * matched (aside from stack size). +- * <br> +- * <b>Only valid for shaped recipes</b> + */ + 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 |