1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-16 18:31:53 +01:00

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
+ @NotNull
+ public ShapelessRecipe addIngredient(@NotNull ItemStack item) {
+ return addIngredient(1, item);
+ return addIngredient(item.getAmount(), item);
+ }
+
+ @NotNull