Fixes #886
This commit is contained in:
@@ -29,7 +29,7 @@ public class StorageFluidExternal implements IStorage<FluidStack> {
|
||||
private IFluidTankProperties getProperties() {
|
||||
IFluidHandler handler = handlerSupplier.get();
|
||||
|
||||
return (handler != null && handler.getTankProperties().length != 0) ? handler.getTankProperties()[0] : null;
|
||||
return (handler != null && handler.getTankProperties() != null && handler.getTankProperties().length != 0) ? handler.getTankProperties()[0] : null;
|
||||
}
|
||||
|
||||
private FluidStack getContents() {
|
||||
|
||||
Reference in New Issue
Block a user