mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Fixed pipe crash, fixed Logistical Sorter render
This commit is contained in:
1 parent
ce0b46b4cb
commit
a0d2d2f505
4 files changed
+21
-40
No files matched your search
@@ -30,6 +30,12 @@ public final class PipeUtils
|
||||
}
|
||||
|
||||
IFluidHandler container = CapabilityUtils.getCapability(tile, CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY, side.getOpposite());
|
||||
|
||||
if(container == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
IFluidTankProperties[] infoArray = container.getTankProperties();
|
||||
|
||||
if(infoArray != null && infoArray.length > 0)
|
||||
|
||||
Reference in new issue
Block a user