aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-28 00:30:40 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-28 00:30:40 +0100
commit7eb5d745e346f116b27ddf0125ed846a72f2ee1a (patch)
tree2e8d38c398b862401cc0afe5004822159d614d88 /src/main/java/at/hannibal2/skyhanni/config
parent7c66f02ddbc8e68f3f6b22d69a9120da231405fe (diff)
downloadskyhanni-7eb5d745e346f116b27ddf0125ed846a72f2ee1a.tar.gz
skyhanni-7eb5d745e346f116b27ddf0125ed846a72f2ee1a.tar.bz2
skyhanni-7eb5d745e346f116b27ddf0125ed846a72f2ee1a.zip
Press key to warp to the nearest plot with pests on it.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java7
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestSpawnConfig.java7
2 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java
index e527a5933..e92df8750 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java
@@ -4,7 +4,9 @@ import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
+import org.lwjgl.input.Keyboard;
public class PestFinderConfig {
@@ -36,4 +38,9 @@ public class PestFinderConfig {
@Expose
public Position position = new Position(-350, 200, 1.3f);
+
+ @Expose
+ @ConfigOption(name = "Teleport Hotkey", desc = "Press this key to warp to the nearest plot with pests on it.")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int teleportHotkey = Keyboard.KEY_NONE;
}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestSpawnConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestSpawnConfig.java
index ac91fbe5b..ba723acfa 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestSpawnConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestSpawnConfig.java
@@ -4,9 +4,7 @@ import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown;
-import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
-import org.lwjgl.input.Keyboard;
public class PestSpawnConfig {
@@ -25,9 +23,4 @@ public class PestSpawnConfig {
@ConfigEditorBoolean
@FeatureToggle
public boolean showTitle = true;
-
- @Expose
- @ConfigOption(name = "Teleport Hotkey", desc = "Press this key to warp to the plot where the last pest has spawned.")
- @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
- public int teleportHotkey = Keyboard.KEY_NONE;
}