Updated addDrawHoveringTextHook to get the correct local variables for 1.7