mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Fix NPE on creating networks.
This commit is contained in:
1 parent
cb95cfeedd
commit
468abefe17
1 file changed
+2
-1
@@ -260,7 +260,8 @@ public class TransmitterNetworkRegistry
|
||||
|
||||
public void addNetworkToIterated(Coord4D from)
|
||||
{
|
||||
networksFound.add(startPoint.getExternalNetwork(from));
|
||||
N net = startPoint.getExternalNetwork(from);
|
||||
if(net != null) networksFound.add(net);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user