Fix ConcurrentModificationException when merging two power networks

This commit is contained in:
modmuss50 2016-05-22 21:47:07 +01:00
parent 55c7f68d75
commit a19f115925

View file

@ -222,7 +222,7 @@ public class TRPowerNet
CableMultipart wire = n.cables.get(i);
li.add(wire);
}
for (EnergyHandler ei : endpoints)
for (EnergyHandler ei : n.endpoints)
{
endpoints.add(ei);
}