Skip to content

Commit b55b245

Browse files
authored
Merge pull request #288 from AzaelMew/master
Removed support for moving backwards in cactus farm in order to fix Farminghub design cactus farm
2 parents 2deadc0 + 4920c71 commit b55b245

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ baseGroup=com.jelly.farmhelperv2
44
mcVersion=1.8.9
55
modid=farmhelperv2
66
modName=FarmHelper
7-
version=2.9.0
7+
version=2.9.1-pre1
88
shouldRelease=true

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void updateState() {
4545
}
4646
changeState(State.SWITCHING_LANE);
4747
setWalkingDirection();
48-
} else if (GameStateHandler.getInstance().isBackWalkable() && !FarmHelperConfig.alwaysHoldW) {
48+
} else if (FarmHelperConfig.getMacro() != FarmHelperConfig.MacroEnum.S_CACTUS && GameStateHandler.getInstance().isBackWalkable() && !FarmHelperConfig.alwaysHoldW) {
4949
if (stuckInMelonsOrPumpkins()) {
5050
AntiStuck.getInstance().setDirectionBlockPos(BlockUtils.getRelativeBlockPos(0, 0, -1, getYaw()));
5151
AntiStuck.getInstance().start();

0 commit comments

Comments
 (0)