This commit is contained in:
raoulvdberge
2017-01-20 22:36:39 +01:00
parent e5bb6bb850
commit fa7d60cced

View File

@@ -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() {