Skip to content

Commit

Permalink
+ Optimizations
Browse files Browse the repository at this point in the history
Auto Bazaar:
 = Fixed issue of getting stuck randomly

Auto God Pot:
 + Added tp do Elizabeth directly (for bits shop)
 = Won't stuck while opening Elizabeth shop
 = Possible fix for buying multiple god pots if user has high ping

Auto Repellent:
 + Added retry to use repellent if it wasn't used for the past 3 seconds of trying

Failsafes:
 = Jacob fixed (i hope so, lmk)
 = Should always detect limbo (not sure why it didn't detect sometimes)
 = Lower avg bps being counted in other features fixed

Pests Destroyer:
 + Faster Vacuum scanner - Credits to Skyhanni lol

PDOTT:
 + Won't trigger during scheduler break (oops)

Visitors Macro:
 + Improved by a lot, need further testing

- Removed some console logs to improve a little performance

Hotfix:
 = Fixed not moving when desync checker was on
  • Loading branch information
May2Beez committed Apr 23, 2024
1 parent 1f89eb9 commit 17302c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ baseGroup=com.jelly.farmhelperv2
mcVersion=1.8.9
modid=farmhelperv2
modName=FarmHelper
version=2.6.2
version=2.6.3
shouldRelease=true
3 changes: 3 additions & 0 deletions src/main/java/com/jelly/farmhelperv2/feature/IFeature.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.jelly.farmhelperv2.feature;

import com.jelly.farmhelperv2.util.LogUtils;

public interface IFeature {
String getName();

Expand All @@ -11,6 +13,7 @@ public interface IFeature {

default void start() {
if (!shouldPauseMacroExecution()) return;
LogUtils.sendDebug("Enabled pausing feature: " + getName());
FeatureManager.getInstance().getPauseExecutionFeatures().add(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean isRunning() {

@Override
public boolean shouldPauseMacroExecution() {
return true;
return enabled;
}

@Override
Expand Down

0 comments on commit 17302c8

Please sign in to comment.