From 30d3d83d5ac4c6ecc0ff56f22ea727e994685829 Mon Sep 17 00:00:00 2001 From: onixiya1337 <47077455+onixiya1337@users.noreply.github.com> Date: Fri, 17 May 2024 22:55:40 +0200 Subject: [PATCH] CRITICAL FAILSAFE UPDATE! WARNING! You MUST update FarmHelper JDA Dependency mod (Discord Integration) to the latest version to make it work! Do this before restarting the game. Failsafes: + Dirt Check - improved by checking whether the admin removed the blocks immediately after touching them Toggle Sprint mods: = Fixed an issue with Toggle Sprint mods not working properly Webhook: + Implemented retrying mechanism so you don't miss notifications JDA: = Updated dependencies to fix rare errors --- gradle.properties | 2 +- .../java/com/jelly/farmhelperv2/remote/DiscordBotHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 33f8ea85..99b88fd7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,5 +4,5 @@ baseGroup=com.jelly.farmhelperv2 mcVersion=1.8.9 modid=farmhelperv2 modName=FarmHelper -version=2.6.22-pre6 +version=2.7.0 shouldRelease=true diff --git a/src/main/java/com/jelly/farmhelperv2/remote/DiscordBotHandler.java b/src/main/java/com/jelly/farmhelperv2/remote/DiscordBotHandler.java index 1d3ded99..b24ef03d 100644 --- a/src/main/java/com/jelly/farmhelperv2/remote/DiscordBotHandler.java +++ b/src/main/java/com/jelly/farmhelperv2/remote/DiscordBotHandler.java @@ -146,7 +146,7 @@ public void onTick(TickEvent.ClientTickEvent e) { FarmHelperConfig.enableRemoteControl = false; return; } - else if (!FarmHelper.isJDAVersionCorrect) { + else if (!FarmHelper.isJDAVersionCorrect && FarmHelperConfig.enableRemoteControl) { FarmHelperConfig.enableRemoteControl = false; LogUtils.sendError("[Remote Control] Farm Helper JDA Dependency is outdated! Please update it and try again. Disabling remote control..."); LogUtils.sendNotification("Farm Helper", "Farm Helper JDA Dependency is outdated! Please update it and try again. Disabling remote control...");