if(fluid == null) {
return null;
}
IFluidFuel res = fuels.get(fluid.getName());
if(res == null && !fuels.containsKey(fluid.getName()) && BuildcraftFuelRegistry.fuel != null) {
IFuel bcFuel = BuildcraftFuelRegistry.fuel.getFuel(fluid);
if(bcFuel != null) {
res = new FuelBC(bcFuel);
}
fuels.put(fluid.getName(), res);
}