lilgallon / Bettercolors

⚔️ Minecraft assistance mod built with Forge AND Fabric. For MC 1.8.9, 1.12.2, 1.13.2, 1.14.4, 1.15.2, 1.16.x, 1.17.X, 1.18.X, 1.19.X
Apache License 2.0
39 stars 2 forks source link

Aim assistance not working properly #55

Closed lilgallon closed 4 years ago

lilgallon commented 4 years ago

Aim assistance not working properly on 1.15.2 6.1.1

I'm so sorry, I thought that I tested it, but I did not. After reviewing the changed that I've done, it turns out that the issue is here:

// We make sure that it's absolute, because the sign may change if we invert entity and MC.player
float yaw = MathHelper.abs(yawPitch[0]);
float pitch = MathHelper.abs(yawPitch[1]);

The comment is absolutely wrong, the sign is needed here!!!! I'll fix that asap

lilgallon commented 4 years ago

Fixed in MC1.15.2 6.1.2 & MC1.16.1 6.1.2