Skip to content

Commit

Permalink
= Auto Repellent - Another fix
Browse files Browse the repository at this point in the history
= AntiStuck - Potential fixes for stuck after lag back
= Pests Destroyer - Some more logic movement near pest
= Rotation fixes
= Tweaks and fixes
  • Loading branch information
May2Beez committed Jan 5, 2024
2 parents cbe58b5 + 5e546ea commit 4b5d353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.4.0-pre8
shouldRelease=false
version=2.4.0-pre7
shouldRelease=true
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ public void onTickExecute(TickEvent.ClientTickEvent event) {
}
if (!mc.thePlayer.getPosition().equals(preTpBlockPos.get())) {
if (PlayerUtils.isPlayerSuffocating() || !BlockUtils.canFlyHigher(5)) {
LogUtils.sendDebug("[Pests Destroyer] The player is suffocating and/or it can't fly higher. Going back to spawnpoint.");
delayClock.schedule(2_000 + Math.random() * 500);
Multithreading.schedule(() -> {
mc.thePlayer.sendChatMessage("/warp garden");
Expand Down

0 comments on commit 4b5d353

Please sign in to comment.