summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/test
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-15 19:14:58 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-15 19:14:58 +0200
commitec08babcd63289587a269dd45f5ba8488d2921e7 (patch)
tree3a44b9ab030554ecff37e05d6c64b81326bc5a7d /src/main/java/at/hannibal2/skyhanni/test
parentd9b4dbfb8a3cdc6f869d740af9b0e38b44ecea2d (diff)
downloadskyhanni-ec08babcd63289587a269dd45f5ba8488d2921e7.tar.gz
skyhanni-ec08babcd63289587a269dd45f5ba8488d2921e7.tar.bz2
skyhanni-ec08babcd63289587a269dd45f5ba8488d2921e7.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt13
1 files changed, 11 insertions, 2 deletions
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<String>) {
+ 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")
+// }
// }
}