X Tutup
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/buildcraft/api/mj/MjCapabilityHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public int receiveEnergy(int maxReceive, boolean simulate) {
// (We need to actual accepted MJ to be some integer multiple of mjPerRf)
long excessMj = acceptedMj % mjPerRf;
// An MJ value that is an integer multiple of mjPerRf
long exactAcceptableMj = maxReceiveMj - excessMj;
long exactAcceptableMj = acceptedMj - excessMj;

if (exactAcceptableMj <= 0) {
return 0;
Expand Down
X Tutup