Use setAmount for Recipe Amount
This commit is contained in:
parent
023ec47e68
commit
dbf1b4bf70
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ // 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
Add a link
Reference in a new issue