mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Crash fixes!
This commit is contained in:
1 parent
9f4c73ee94
commit
459cdc67e8
3 files changed
+5
-4
No files matched your search
@@ -21,7 +21,8 @@ public class FluidHandlerWrapper implements IFluidHandler
|
||||
@Override
|
||||
public IFluidTankProperties[] getTankProperties()
|
||||
{
|
||||
return FluidTankProperties.convert(wrapper.getTankInfo(side));
|
||||
return wrapper.getTankInfo(side) != null ? FluidTankProperties.convert(wrapper.getTankInfo(side))
|
||||
: new IFluidTankProperties[]{};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user