diff --git a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java index 202366baa8..6d1c0fcbed 100644 --- a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java +++ b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java @@ -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() {