This change might break minecart physics - if the cart is going 0.05 in Z direction, you're essentially making it switch between -0.05 and 0.05, rather than slowing down.