mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 13:29:40 +00:00
Fix ITubeConnection acceptors that aren't IGasHandler
This commit is contained in:
1 parent
4aad2e5364
commit
cb95cfeedd
1 file changed
+12
@@ -295,4 +295,16 @@ public class PartPressurizedTube extends PartTransmitter<IGasHandler, GasNetwork
|
||||
return buffer.receive(gasStack, doEmit);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public IGasHandler getCachedAcceptor(ForgeDirection side)
|
||||
{
|
||||
if(cachedAcceptors[side.ordinal()] instanceof IGasHandler)
|
||||
{
|
||||
return super.getCachedAcceptor(side);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user