Fixed a bug where quartz fiber would de register if 2 nodes were on the same grid.
This commit is contained in:
parent
93940c151d
commit
781936dcc1
1 changed files with 4 additions and 1 deletions
5
me/cache/EnergyGridCache.java
vendored
5
me/cache/EnergyGridCache.java
vendored
|
@ -32,6 +32,9 @@ import appeng.me.GridNode;
|
||||||
import appeng.me.energy.EnergyThreshold;
|
import appeng.me.energy.EnergyThreshold;
|
||||||
import appeng.me.energy.EnergyWatcher;
|
import appeng.me.energy.EnergyWatcher;
|
||||||
|
|
||||||
|
import com.google.common.collect.HashMultiset;
|
||||||
|
import com.google.common.collect.Multiset;
|
||||||
|
|
||||||
public class EnergyGridCache implements IEnergyGrid
|
public class EnergyGridCache implements IEnergyGrid
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -108,7 +111,7 @@ public class EnergyGridCache implements IEnergyGrid
|
||||||
return lastProvider;
|
return lastProvider;
|
||||||
}
|
}
|
||||||
|
|
||||||
Set<IEnergyGridProvider> gproviders = new LinkedHashSet();
|
Multiset<IEnergyGridProvider> gproviders = HashMultiset.create();
|
||||||
|
|
||||||
final IGrid myGrid;
|
final IGrid myGrid;
|
||||||
PathGridCache pgc;
|
PathGridCache pgc;
|
||||||
|
|
Loading…
Reference in a new issue