Skip to content

Commit acc4f6d

Browse files
committed
Forgot to include the alternative param for shapes
1 parent 4679909 commit acc4f6d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/main/java/net/swedz/tesseract/neoforge/compat/mi/machine/builder/SpecialMachineBuilder.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,19 @@ protected void internalRegister()
6060
}
6161
}
6262

63-
public SpecialMachineBuilder registerMultiblockShape(ShapeTemplate shape)
63+
public SpecialMachineBuilder registerMultiblockShape(ShapeTemplate shape, String alternative)
6464
{
6565
Assert.that(isMultiblock, "Multiblock shapes can only be registered on multiblock machines");
6666
Assert.notNull(shape);
67-
ReiMachineRecipes.registerMultiblockShape(hook.id(name), shape);
67+
ReiMachineRecipes.registerMultiblockShape(hook.id(name), shape, alternative);
6868
return this;
6969
}
7070

71+
public SpecialMachineBuilder registerMultiblockShape(ShapeTemplate shape)
72+
{
73+
return this.registerMultiblockShape(shape, null);
74+
}
75+
7176
public SpecialMachineBuilder registerRecipeCategory()
7277
{
7378
Assert.that(!isRecipeCategoryRegistered, "This recipe category is already registered");

0 commit comments

Comments
 (0)