mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-01 21:43:38 +02:00
parent
1fec7a0473
commit
363bdcef41
|
@ -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