Fixed a bug where quartz fiber would de register if 2 nodes were on the same grid.

This commit is contained in:
AlgorithmX2 2014-07-11 19:00:37 -05:00
parent 93940c151d
commit 781936dcc1

View file

@ -32,6 +32,9 @@ import appeng.me.GridNode;
import appeng.me.energy.EnergyThreshold;
import appeng.me.energy.EnergyWatcher;
import com.google.common.collect.HashMultiset;
import com.google.common.collect.Multiset;
public class EnergyGridCache implements IEnergyGrid
{
@ -108,7 +111,7 @@ public class EnergyGridCache implements IEnergyGrid
return lastProvider;
}
Set<IEnergyGridProvider> gproviders = new LinkedHashSet();
Multiset<IEnergyGridProvider> gproviders = HashMultiset.create();
final IGrid myGrid;
PathGridCache pgc;