The replacement of heavy duty crane on the main deck of Hai Yang Di Zhi Er Hao vessel would cause the load change in the corresponding area of the main deck,which would have certain impact on the alignment of shafting.In this paper,through the detection of shafting alignment data in each stage during the replacement of crane in real ship,and then comparing the bearing data changes caused by weight changes at each stage,and analyzing the reasons for the changes to shafting,the results show that under the condition of the original hull structure of the ship,the replacement of heavy duty crane does not have a big impact on the shafting alignment data of the shafting,and it is not necessary to re-align.This case can provide some reference for similar modification projects.