mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
parent
1fec7a0473
commit
363bdcef41
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ public final class LaserRelayConnectionHandler implements ILaserRelayConnectionH
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Network getNetworkFor(BlockPos relay, World world){
|
public Network getNetworkFor(BlockPos relay, World world){
|
||||||
|
if(world != null)
|
||||||
for(Network aNetwork : WorldData.get(world).laserRelayNetworks){
|
for(Network aNetwork : WorldData.get(world).laserRelayNetworks){
|
||||||
for(IConnectionPair pair : aNetwork.connections){
|
for(IConnectionPair pair : aNetwork.connections){
|
||||||
if(pair.contains(relay)){
|
if(pair.contains(relay)){
|
||||||
|
|
Loading…
Reference in a new issue