1
0
mirror of https://github.com/kami-blue/client synced 2025-01-25 00:02:51 +00:00

[feature] AutoTunnel display which direction is selected

Closes #1109

Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
Dominika 2020-09-30 21:55:46 -04:00
parent 4263c9bc74
commit 47a0984873
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F

View File

@ -73,6 +73,10 @@ object AutoTunnel : Module() {
lastCommand = arrayOf("")
}
override fun getHudInfo(): String? {
return startingDirection.cardinalName
}
@EventHandler
private val disconnectListener = Listener(EventHook { event: ConnectionEvent.Disconnect ->
BaritoneAPI.getProvider().primaryBaritone.pathingBehavior.cancelEverything()