Skip to content

Commit

Permalink
Add back backwards compatibility for the SteamParallelMultiblock cons…
Browse files Browse the repository at this point in the history
…tructor (#2139)
  • Loading branch information
krossgg committed Oct 13, 2024
1 parent f1d740f commit 5261cb9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ public class SteamParallelMultiblockMachine extends WorkableMultiblockMachine im
// if in millibuckets, this is 0.5, Meaning 2mb of steam -> 1 EU
private static final double CONVERSION_RATE = 0.5D;

public SteamParallelMultiblockMachine(IMachineBlockEntity holder) {
this(holder, ConfigHolder.INSTANCE.machines.steamMultiParallelAmount);
public SteamParallelMultiblockMachine(IMachineBlockEntity holder, Object... args) {
this(holder, ConfigHolder.INSTANCE.machines.steamMultiParallelAmount, args);
}

public SteamParallelMultiblockMachine(IMachineBlockEntity holder, int parallelAmount) {
super(holder);
public SteamParallelMultiblockMachine(IMachineBlockEntity holder, int parallelAmount, Object... args) {
super(holder, args);
maxParallels = parallelAmount;
}

Expand Down

0 comments on commit 5261cb9

Please sign in to comment.