Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderblade73 committed Feb 25, 2024
1 parent ed8846a commit 2ed9de7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package at.hannibal2.skyhanni.test

import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.api.HotmAPI
import at.hannibal2.skyhanni.config.ConfigFileType
import at.hannibal2.skyhanni.config.ConfigGuiManager
import at.hannibal2.skyhanni.config.ConfigManager
import at.hannibal2.skyhanni.config.ConfigUpdaterMigrator
import at.hannibal2.skyhanni.config.core.config.Position
import at.hannibal2.skyhanni.data.HotmData
import at.hannibal2.skyhanni.data.HypixelData
import at.hannibal2.skyhanni.data.SlayerAPI
import at.hannibal2.skyhanni.events.GuiRenderEvent
Expand Down Expand Up @@ -41,6 +43,7 @@ import at.hannibal2.skyhanni.utils.RenderUtils.renderString
import at.hannibal2.skyhanni.utils.RenderUtils.renderStringsAndItems
import at.hannibal2.skyhanni.utils.SimpleTimeMark
import at.hannibal2.skyhanni.utils.SoundUtils
import com.google.gson.Gson
import kotlinx.coroutines.launch
import net.minecraft.client.Minecraft
import net.minecraft.client.gui.inventory.GuiContainer
Expand Down Expand Up @@ -106,6 +109,12 @@ class SkyHanniDebugsAndTests {

fun testCommand(args: Array<String>) {
SoundUtils.playBeepSound()
val gson = Gson()
LorenzDebug.log("Ability: " + HotmAPI.activeMiningAbility?.name)
LorenzDebug.log("Token: " + HotmData.availableTokens + " / " + HotmData.tokens)
LorenzDebug.log("Mithril: " + HotmAPI.Powder.currentMithril + " / " + HotmAPI.Powder.maxMithril)
LorenzDebug.log("Gemstone: " + HotmAPI.Powder.currentGemstone + " / " + HotmAPI.Powder.maxGemstone)
LorenzDebug.log("Tree: " + gson.toJson(HotmAPI.copyCurrentTree()))

// val a = Thread { OSUtils.copyToClipboard("123") }
// val b = Thread { OSUtils.copyToClipboard("456") }
Expand Down

0 comments on commit 2ed9de7

Please sign in to comment.