Skip to content

Commit efd46ec

Browse files
committed
Merge branch '6.5.x' into 7.1.x
2 parents 44450f9 + 056af07 commit efd46ec

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

common/buildcraft/compat/minetweaker/Refinery.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public class Refinery {
3434
public static void addRecipe(ILiquidStack output, int energyPerMB, int ticksPerMB, ILiquidStack input1, @Optional ILiquidStack input2) {
3535
MineTweakerAPI.apply(new AddRecipeAction(output, energyPerMB, ticksPerMB, input1, input2));
3636
}
37-
37+
3838
@ZenMethod
39-
public static void remove(ILiquidStack output) {
39+
public static void removeRecipe(ILiquidStack output) {
4040
Fluid fluid = MineTweakerMC.getLiquidStack(output).getFluid();
4141

4242
List<IFlexibleRecipe<FluidStack>> toRemove = new ArrayList<IFlexibleRecipe<FluidStack>>();
@@ -51,6 +51,13 @@ public static void remove(ILiquidStack output) {
5151
}
5252
}
5353

54+
//Deprecated method for backwards compability
55+
@ZenMethod
56+
public static void remove(ILiquidStack output) {
57+
removeRecipe(output);
58+
}
59+
60+
5461
// ######################
5562
// ### Action Classes ###
5663
// ######################

0 commit comments

Comments
 (0)