Skip to content

Commit 17636d2

Browse files
authored
Merge pull request #322 from mqtze/fix/auto-repellent
Auto Repellent: = Updated Hypixel message detection, thanks mqtze!
2 parents c3e350c + 843ff7b commit 17636d2

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.6-pre2
7+
version=2.9.7-pre4
88
shouldRelease=true

src/main/java/com/jelly/farmhelperv2/feature/impl/AutoRepellent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ public void onChatReceived(ClientChatReceivedEvent event) {
418418
return;
419419
}
420420
}
421-
if (message.startsWith("YUM! Pests will now spawn")) {
421+
if (message.startsWith("YUM! Pests will now spawn")) {
422422
repellentFailsafeClock.schedule(TimeUnit.MILLISECONDS.convert(1, TimeUnit.HOURS) + 5_000);
423423
GameStateHandler.getInstance().setPestRepellentState(GameStateHandler.BuffState.ACTIVE);
424424
LogUtils.sendDebug("Repellent used!");

0 commit comments

Comments
 (0)