File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
src/main/java/com/jelly/farmhelperv2 Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ baseGroup=com.jelly.farmhelperv2
44mcVersion =1.8.9
55modid =farmhelperv2
66modName =FarmHelper
7- version =2.9.7-pre4
7+ version =2.9.7-pre5
88shouldRelease =true
Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ private Entity getPhillip() {
465465 @ SubscribeEvent (receiveCanceled = true )
466466 public void onChatMessageReceived (ClientChatReceivedEvent event ) {
467467 if (enabled && event .type == 0 && event .message != null && newState == NewState .WAIT_FOR_VACUUM ) {
468- if (event .message .getFormattedText ().contains ("§e[NPC] §6Phillip§f: Thanks for the §6Pests §f," ))
468+ if (event .message .getFormattedText ().contains ("§e[NPC] §6Phillip§f: Thanks for the §2ൠ Pests §f," ))
469469 LogUtils .sendSuccess ("[Auto Pest Exchange] Successfully emptied the vacuum!" );
470470 else {
471471 if (event .message .getUnformattedText ().startsWith ("You've exchanged enough Pests recently! Try emptying your Vacuum Bag later!" )) {
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments