int metadata = world.getBlockMetadata(x, y, z);
if(metadata == METADATA_FLUIDPORT && StaticUtils.Inventory.isPlayerHoldingWrench(player)) {
TileEntity te = world.getTileEntity(x, y, z);
if(te instanceof TileEntityTurbineFluidPort) {
TileEntityTurbineFluidPort fluidPort = (TileEntityTurbineFluidPort)te;
FluidFlow flow = fluidPort.getFlowDirection();
fluidPort.setFluidFlowDirection(flow == FluidFlow.In ? FluidFlow.Out : FluidFlow.In, true);
return true;
}
}
if(world.isRemote) {