Use inventory serialization to prevent armour loss.