mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 14:57:35 +01:00
Use setAmount for Recipe Amount
This commit is contained in:
parent
50e70697b1
commit
7878e3bc24
@ -34,7 +34,7 @@ index 84062dd719cb8a6142dc8c806777cb208c6b42b2..ddcf84e6609abe8379cca2ff99983ce3
|
|||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ @NotNull
|
+ @NotNull
|
||||||
+ public ShapelessRecipe addIngredient(@NotNull ItemStack item) {
|
+ public ShapelessRecipe addIngredient(@NotNull ItemStack item) {
|
||||||
+ return addIngredient(1, item);
|
+ return addIngredient(item.getAmount(), item);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ @NotNull
|
+ @NotNull
|
||||||
|
Loading…
Reference in New Issue
Block a user