From ec08babcd63289587a269dd45f5ba8488d2921e7 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 15 Apr 2023 19:14:58 +0200 Subject: code cleanup --- src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/test') diff --git a/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt b/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt index 55b01dd9f..b6d3873f7 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt @@ -40,6 +40,7 @@ class LorenzTest { } fun testCommand(args: Array) { + SoundUtils.playBeepSound() // for ((i, s) in ScoreboardData.sidebarLinesFormatted().withIndex()) { // println("$i: '$s'") @@ -52,8 +53,8 @@ class LorenzTest { // SoundUtils.createSound(name, pitch).playSound() - a = args[0].toDouble() - b = args[1].toDouble() +// a = args[0].toDouble() +// b = args[1].toDouble() // c = args[2].toDouble() // for (line in (Minecraft.getMinecraft().ingameGUI.tabList as AccessorGuiPlayerTabOverlay).footer.unformattedText @@ -165,6 +166,14 @@ class LorenzTest { // if (itemStack != null) { // val internalName = itemStack.getInternalName() // event.toolTip.add("internal name: $internalName") +// val data = BazaarApi.getBazaarDataByInternalName(internalName) +// if (data == null) { +// event.toolTip.add("SkyHanni Price: null") +// } else { +// val buyPrice = data.buyPrice +// val sellPrice = data.sellPrice +// event.toolTip.add("SkyHanni Price: $buyPrice / $sellPrice") +// } // } } -- cgit