Skip to content

Commit

Permalink
Merge pull request #7 from MuXiu1997/fix-heater
Browse files Browse the repository at this point in the history
Fix heater
  • Loading branch information
Dream-Master authored May 28, 2022
2 parents 7d9df57 + e645e68 commit 332f4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/remoteio/common/tile/TileMachineHeater.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public int maxrequestHeatTick(ForgeDirection directionFrom) {
public int requestHeat(ForgeDirection directionFrom, int requestedHeat) {
if (!filled) return 0;
int used = Math.min(RemoteIO.heatProvided - heatUsed, requestedHeat);
heatUsed -= used;
heatUsed += used;
return used;
}
}

0 comments on commit 332f4d3

Please sign in to comment.