mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Transmitters now intelligently maintain buffers when transmitter nodes are destroyed
This commit is contained in:
1 parent
b248cf4b07
commit
2b785c95f3
10 files changed
+133
-90
No files matched your search
@@ -76,6 +76,7 @@ public class EnergyNetwork extends DynamicNetwork<EnergyAcceptorWrapper, EnergyN
|
||||
{
|
||||
buffer.amount = getCapacity();
|
||||
}
|
||||
|
||||
if(buffer.amount < 0)
|
||||
{
|
||||
buffer.amount = 0;
|
||||
|
||||
Reference in new issue
Block a user