Fixed potential NPE when getting broken sword icon