Fix #1602
This commit is contained in:
parent
a0ee459d13
commit
20b1874e2c
1 changed files with 2 additions and 1 deletions
|
@ -41,12 +41,13 @@ public class CTGrinder extends CTGeneric {
|
|||
|
||||
@ZenMethod
|
||||
@ZenDocumentation("IItemStack output, IIngredient input1, int ticktime, int euTick")
|
||||
public static void addRecipe(IItemStack output, IIngredient input1, int ticktime, int euTick) {
|
||||
public static RecipeSettings addRecipe(IItemStack output, IIngredient input1, int ticktime, int euTick) {
|
||||
Object oInput1 = CraftTweakerCompat.toObject(input1);
|
||||
|
||||
GrinderRecipe r = new GrinderRecipe(oInput1, CraftTweakerCompat.toStack(output), ticktime, euTick);
|
||||
|
||||
addRecipe(r);
|
||||
return new RecipeSettings(r);
|
||||
}
|
||||
|
||||
@ZenMethod
|
||||
|
|
Loading…
Reference in a new issue