Use setAmount for Recipe Amount
This commit is contained in:
parent
50e70697b1
commit
7878e3bc24
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue