mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Maybe fix negative buffer issues .
This commit is contained in:
1 parent
05508b598a
commit
91d323ccdd
2 files changed
+5
No files matched your search
@@ -76,6 +76,10 @@ public class EnergyNetwork extends DynamicNetwork<EnergyAcceptorWrapper, EnergyN
|
||||
{
|
||||
buffer.amount = getCapacity();
|
||||
}
|
||||
if(buffer.amount < 0)
|
||||
{
|
||||
buffer.amount = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user