Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
Remove javadoc that doesn't apply to Paper (#9206)
Dieser Commit ist enthalten in:
Ursprung
9daa019d6c
Commit
ab7bc3fb34
@ -8,6 +8,19 @@ Allows using ExactChoice Recipes with easier methods
|
|||||||
Redirects some of upstream's APIs to these new methods to avoid
|
Redirects some of upstream's APIs to these new methods to avoid
|
||||||
usage of magic values and the deprecated RecipeChoice#getItemStack
|
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
|
diff --git a/src/main/java/org/bukkit/inventory/ShapedRecipe.java b/src/main/java/org/bukkit/inventory/ShapedRecipe.java
|
||||||
index be68263386a8faea7744f4de75d484e9358c87df..c2d224b6472a65cd362e1ab55ce7e3d0b5a3befc 100644
|
index be68263386a8faea7744f4de75d484e9358c87df..c2d224b6472a65cd362e1ab55ce7e3d0b5a3befc 100644
|
||||||
--- a/src/main/java/org/bukkit/inventory/ShapedRecipe.java
|
--- a/src/main/java/org/bukkit/inventory/ShapedRecipe.java
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren