Skip to content

Commit

Permalink
fix: use energy
Browse files Browse the repository at this point in the history
  • Loading branch information
ybw0014 committed Oct 31, 2023
1 parent 9ad0eca commit 93b3d7f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ protected void craft(BlockMenu blockMenu, Player p, int amount) {
FastMachines.getLocalization().sendMessage(p, "not-enough-energy");
return;
}
setCharge(blockMenu.getLocation(), currentEnergy - energyNeeded);
}

// remove recipe inputs
Expand Down

0 comments on commit 93b3d7f

Please sign in to comment.