Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
AutoSell:
= Won't try to sell Melon Dicer nor Cocoa Chopper (without reforges) anymore

Mushroom Macro:
= Disabled pitch randomization when using custom one

Since the last release:

Visitors Macro:
+ Added ability to use both name and rarity visitor filters at the same time, thanks RobotHanzo!
+ Added ability to choose whether to reject or ignore when the visitor isn't filtered by name filters, thanks RobotHanzo!

Remote Control:
= Fixed avatar previews, thanks RobotHanzo!

Webhook:
= Fixed spamming with JDA update messages

Jacob's Contest:
= Fixed next contest's crops not clearing from the memory when the player did not participate in the contest, thanks RobotHanzo!

Scheduler:
+ Added disconnecting during break, thanks Osama!
+ Added waiting until rewarp point is reached, thanks Osama!
+ Added ability to reset scheduler after disabling the macro, thanks Osama!
+ Added reset button, thanks Osama!

Jacob's Contest failsafe:
= Fixed reconnect bug, thanks Osama!

Lower Average BPS:
= Added stopping randomization

BPS Tracker/Lower Average BPS failsafe:
= Bug fixes
  • Loading branch information
onixiya1337 committed Jul 10, 2024
1 parent cd2f953 commit f5f6ce6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 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.8.4-pre2
version=2.8.4
shouldRelease=true
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,8 @@ private boolean shouldSell(String name) {
if (name.contains("Sack")) return false;
if (name.contains("Pouch")) return false;
if (name.contains("Knife")) return false;
if (name.contains("Dicer")) return false;
if (name.contains("Chopper")) return false;
if (shouldSellCustomItem(name)) return true;
return crops.stream().anyMatch(crop -> StringUtils.stripControlCodes(name).startsWith(crop));
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.jelly.farmhelperv2.feature.impl;

import cc.polyfrost.oneconfig.utils.Multithreading;
import com.jelly.farmhelperv2.FarmHelper;
import com.jelly.farmhelperv2.config.FarmHelperConfig;
import com.jelly.farmhelperv2.feature.FeatureManager;
import com.jelly.farmhelperv2.feature.IFeature;
Expand All @@ -25,9 +24,9 @@
import net.minecraftforge.client.event.GuiScreenEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import org.lwjgl.input.Keyboard;

import java.util.concurrent.TimeUnit;
import org.lwjgl.input.Keyboard;

public class Scheduler implements IFeature {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.jelly.farmhelperv2.config.struct.Rewarp;
import com.jelly.farmhelperv2.event.ReceivePacketEvent;
import com.jelly.farmhelperv2.failsafe.FailsafeManager;
import com.jelly.farmhelperv2.failsafe.impl.LowerAvgBpsFailsafe;
import com.jelly.farmhelperv2.failsafe.impl.WorldChangeFailsafe;
import com.jelly.farmhelperv2.feature.FeatureManager;
import com.jelly.farmhelperv2.feature.impl.*;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/jelly/farmhelperv2/hud/StatusHUD.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import cc.polyfrost.oneconfig.config.core.OneColor;
import cc.polyfrost.oneconfig.hud.TextHud;
import com.google.common.collect.Lists;
import com.jelly.farmhelperv2.FarmHelper;
import com.jelly.farmhelperv2.config.FarmHelperConfig;
import com.jelly.farmhelperv2.failsafe.FailsafeManager;
import com.jelly.farmhelperv2.feature.impl.AutoReconnect;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ public void onEnable() {

@Override
public void actionAfterTeleport() {
setPitch((float) (Math.random() * 2 - 1)); // -1 - 1
if (!isPitchSet()) {
setPitch((float) (Math.random() * 2 - 1)); // -1 - 1
}
}

@Override
Expand Down

0 comments on commit f5f6ce6

Please sign in to comment.