if (pipe.pipe == null)
return null;
switch (ID) {
case ABOGuiIds.PIPE_DIAMOND_LIQUIDS:
return new ContainerPipeFluidsDiamond(player.inventory, pipe);
case ABOGuiIds.PIPE_DIAMOND_POWER:
return new ContainerPipePowerDiamond(player.inventory, pipe);
default: