p2p fixes redton, light, items

This commit is contained in:
PrototypeTrousers
2021-11-02 21:40:49 -03:00
parent b423d99879
commit c5d33ed892
4 changed files with 39 additions and 11 deletions
@@ -76,11 +76,14 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IItemHa
this.cachedInv = null;
try
{
for( PartP2PItems input : this.getInputs() )
if( this.isOutput() )
{
if( input != null && this.isOutput() )
for( PartP2PItems input : this.getInputs() )
{
input.onTunnelNetworkChange();
if( input != null )
{
input.onTunnelNetworkChange();
}
}
}
}