Set the durability correctly
Make sure it is an entity doing the damage