Use setAmount for Recipe Amount

This commit is contained in:
Sun
2020-11-07 14:10:03 -08:00
parent 023ec47e68
commit dbf1b4bf70

View File

@@ -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