Skip to content

Commit 71f709e

Browse files
committed
remove weird rotation in sds
1 parent 76d99e5 commit 71f709e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/com/jelly/farmhelperv2/macro/impl/SShapeMushroomSDSMacro.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ public void onEnable() {
3030

3131
if (MacroHandler.getInstance().isTeleporting()) return;
3232
setRestoredState(false);
33-
Rotation newRotation = new Rotation((float) (getClosest90Deg().orElse(AngleUtils.getClosest()) + -16 + (Math.random() * 1 - 0.5)), getPitch());
34-
setYaw(newRotation.getYaw());
3533
if (FarmHelperConfig.dontFixAfterWarping && Math.abs(getYaw() - AngleUtils.get360RotationYaw()) < 0.1) return;
3634
getRotation().easeTo(
3735
new RotationConfiguration(
38-
newRotation,
36+
new Rotation(getYaw(), getPitch()),
3937
FarmHelperConfig.getRandomRotationTime(), null
4038
).easeOutBack(!MacroHandler.getInstance().isResume())
4139
);

0 commit comments

Comments
 (0)