diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-22 02:33:47 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-22 02:33:47 +0200 |
commit | 53c45f4488f893bebfc8ad2d7919f163305bd09f (patch) | |
tree | 7123778d63c6cd609711ffea3dbfd74fd9bc9900 /src/main/java/at/hannibal2 | |
parent | 9dc0642c483f3f74297ebf6bdb6dc1dae8ac3679 (diff) | |
download | skyhanni-53c45f4488f893bebfc8ad2d7919f163305bd09f.tar.gz skyhanni-53c45f4488f893bebfc8ad2d7919f163305bd09f.tar.bz2 skyhanni-53c45f4488f893bebfc8ad2d7919f163305bd09f.zip |
added dungeon stuff to debug command
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonData.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt | 15 |
2 files changed, 14 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonData.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonData.kt index 230e80dd2..e9ccf9b57 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonData.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonData.kt @@ -16,8 +16,8 @@ class DungeonData { companion object { var dungeonFloor: String? = null - var inBossRoom = false var started = false + var inBossRoom = false fun inDungeon() = dungeonFloor != null diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt index 0597168be..a4298046f 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt @@ -6,6 +6,7 @@ import at.hannibal2.skyhanni.events.GuiRenderEvent import at.hannibal2.skyhanni.events.LorenzChatEvent import at.hannibal2.skyhanni.events.PlaySoundEvent import at.hannibal2.skyhanni.events.ReceiveParticleEvent +import at.hannibal2.skyhanni.features.dungeon.DungeonData import at.hannibal2.skyhanni.features.garden.visitor.GardenVisitorColorNames import at.hannibal2.skyhanni.utils.* import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName @@ -184,12 +185,15 @@ class SkyHanniTestCommand { builder.append("\n") builder.append("player name: '${LorenzUtils.getPlayerName()}'\n") builder.append("player uuid: '${LorenzUtils.getPlayerUuid()}'\n") + builder.append("repoAutoUpdate: ${SkyHanniMod.feature.dev.repoAutoUpdate}\n") builder.append("\n") + builder.append("onHypixel: ${LorenzUtils.onHypixel}\n") val inSkyBlock = LorenzUtils.inSkyBlock builder.append("inSkyBlock: $inSkyBlock\n") - builder.append("\n") + if (inSkyBlock) { + builder.append("\n") builder.append("skyBlockIsland: ${LorenzUtils.skyBlockIsland}\n") builder.append("skyBlockArea: '${LorenzUtils.skyBlockArea}'\n") builder.append("profileName: '${HypixelData.profileName}'\n") @@ -198,8 +202,15 @@ class SkyHanniTestCommand { builder.append("stranded: ${HypixelData.stranded}\n") builder.append("bingo: ${HypixelData.bingo}\n") + if (LorenzUtils.inDungeons) { + builder.append("\n") + builder.append("in dungeon!\n") + builder.append(" dungeonFloor: ${DungeonData.dungeonFloor}\n") + builder.append(" started: ${DungeonData.started}\n") + builder.append(" inBossRoom: ${DungeonData.inBossRoom}\n") + } + } - builder.append("\n") builder.append("```") OSUtils.copyToClipboard(builder.toString()) LorenzUtils.chat("§eCopied SkyHanni debug data to clipboard.") |