Skip to content

Commit

Permalink
Fix init
Browse files Browse the repository at this point in the history
  • Loading branch information
Intybyte committed Nov 12, 2024
1 parent 26b5a43 commit 60f183b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public MachineFuel(int seconds, SlimefunItemStack fuel, SlimefunItemStack output
this.ticks = seconds * 2;
this.fuel = fuel.item();
this.wrapper = ItemStackWrapper.wrap(this.fuel);
if (output != null)
this.output = output.item();
this.output = output != null ? output.item() : null;
}

public ItemStack getInput() {
Expand Down

0 comments on commit 60f183b

Please sign in to comment.