Use setAmount for Recipe Amount

This commit is contained in:
Sun 2020-11-07 14:10:03 -08:00 committed by MiniDigger | Martin
parent 50e70697b1
commit 7878e3bc24

View File

@ -34,7 +34,7 @@ index 84062dd719cb8a6142dc8c806777cb208c6b42b2..ddcf84e6609abe8379cca2ff99983ce3
+ // Paper start
+ @NotNull
+ public ShapelessRecipe addIngredient(@NotNull ItemStack item) {
+ return addIngredient(1, item);
+ return addIngredient(item.getAmount(), item);
+ }
+
+ @NotNull