diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-10-03 14:14:39 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-10-03 14:14:39 +0200 |
| commit | 08f15c1fc11e8c3142c859fdff0c3e80afcab0fe (patch) | |
| tree | a5e5522618d1dfd6bdf9b63eef63fd21c7dcb3c3 /src/main/java/at/hannibal2/skyhanni/config | |
| parent | 075b7c517bb0a4f0c06156d351baba37b9317957 (diff) | |
| download | skyhanni-08f15c1fc11e8c3142c859fdff0c3e80afcab0fe.tar.gz skyhanni-08f15c1fc11e8c3142c859fdff0c3e80afcab0fe.tar.bz2 skyhanni-08f15c1fc11e8c3142c859fdff0c3e80afcab0fe.zip | |
Warps to the nearest warp point on the hub, if closer to the next burrow.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 2 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Diana.java | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index d9711dd77..5d94d850c 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.ConfigEditor import at.hannibal2.skyhanni.config.commands.SimpleCommand.ProcessCommandRunnable import at.hannibal2.skyhanni.config.core.GuiScreenElementWrapper import at.hannibal2.skyhanni.features.MarkedPlayerManager +import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper import at.hannibal2.skyhanni.test.LorenzTest import at.hannibal2.skyhanni.test.command.CopyItemCommand import at.hannibal2.skyhanni.test.command.CopyNearbyEntitiesCommand @@ -35,6 +36,7 @@ object Commands { registerCommand("shmarkplayer") { MarkedPlayerManager.command(it) } registerCommand("togglepacketlog") { LorenzTest.togglePacketLog() } registerCommand("shreloadlisteners") { LorenzTest.reloadListeners() } + registerCommand("shresetburrowwarps") { BurrowWarpHelper.resetDisabledWarps() } } private fun registerCommand(name: String, function: (Array<String>) -> Unit) { diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Diana.java b/src/main/java/at/hannibal2/skyhanni/config/features/Diana.java index 55ec5d387..f783358c1 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Diana.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Diana.java @@ -31,4 +31,10 @@ public class Diana { @ConfigAccordionId(id = 0) public boolean burrowSmoothTransition = false; + @Expose + @ConfigOption(name = "Nearest Warp", desc = "Warps to the nearest warp point on the hub, if closer to the next burrow.") + @ConfigEditorBoolean + @ConfigAccordionId(id = 0) + public boolean burrowNearestWarp = false; + } |
