Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.9.2
version=2.9.3
shouldRelease=true
Original file line number Diff line number Diff line change
Expand Up @@ -1502,6 +1502,13 @@ public static void triggerManuallyPestsDestroyer() {
size = 2
)
public static boolean autoPestExchangeTravelMethodInfo;
@DualOption(
name = "Teleport to", category = AUTO_PEST_EXCHANGE, subcategory = "Auto Pest Exchange",
description = "The plot to teleport to, to get to the pest exchange desk",
left = "Barn",
right = "Plot 2"
)
public static boolean autoPestExchangeTpDestiination = false;
@Slider(
name = "Trigger before contest starts (in minutes)", category = AUTO_PEST_EXCHANGE, subcategory = "Auto Pest Exchange",
description = "The time before the contest starts to trigger the auto pest exchange",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,11 @@ public void onTickExecutionNew(TickEvent.ClientTickEvent event) {
}
positionBeforeTp = mc.thePlayer.getPosition();
newState = NewState.WAIT_FOR_TP;
mc.thePlayer.sendChatMessage("/tptoplot barn");
if (!FarmHelperConfig.autoPestExchangeTpDestiination) {
mc.thePlayer.sendChatMessage("/tptoplot barn");
} else {
mc.thePlayer.sendChatMessage("/tptoplot 2");
}
delayClock.schedule((long) (600 + Math.random() * 500));
break;
case WAIT_FOR_TP:
Expand Down