mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Refactored energy API to play nicely with new changes
This commit is contained in:
1 parent
b4c5cf73a9
commit
cf6a04a65d
19 files changed
+161
-289
No files matched your search
@@ -179,7 +179,7 @@ public class EnergyNetwork extends DynamicNetwork<EnergyAcceptorWrapper, EnergyN
|
||||
{
|
||||
double prev = sent;
|
||||
|
||||
sent += acceptor.transferEnergyToAcceptor(side, currentSending);
|
||||
sent += acceptor.acceptEnergy(side, currentSending, false);
|
||||
|
||||
if(sent > prev)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user