aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonData.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt15
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.")