We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d99e5 commit 71f709eCopy full SHA for 71f709e
src/main/java/com/jelly/farmhelperv2/macro/impl/SShapeMushroomSDSMacro.java
@@ -30,12 +30,10 @@ public void onEnable() {
30
31
if (MacroHandler.getInstance().isTeleporting()) return;
32
setRestoredState(false);
33
- Rotation newRotation = new Rotation((float) (getClosest90Deg().orElse(AngleUtils.getClosest()) + -16 + (Math.random() * 1 - 0.5)), getPitch());
34
- setYaw(newRotation.getYaw());
35
if (FarmHelperConfig.dontFixAfterWarping && Math.abs(getYaw() - AngleUtils.get360RotationYaw()) < 0.1) return;
36
getRotation().easeTo(
37
new RotationConfiguration(
38
- newRotation,
+ new Rotation(getYaw(), getPitch()),
39
FarmHelperConfig.getRandomRotationTime(), null
40
).easeOutBack(!MacroHandler.getInstance().isResume())
41
);
0 commit comments