From 4ef641b494e3786f8487f8c4569bdad9d5225512 Mon Sep 17 00:00:00 2001 From: "Erymanthus[#5074] | (u/)RayDeeUx" <51521765+RayDeeUx@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:05:57 -0400 Subject: [PATCH] chatutils --- .../java/at/hannibal2/skyhanni/test/TestCopyChestData.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/test/TestCopyChestData.kt b/src/main/java/at/hannibal2/skyhanni/test/TestCopyChestData.kt index 5f150d70013d..8887e7b0a96f 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/TestCopyChestData.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/TestCopyChestData.kt @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.test import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.test.command.CopyItemCommand.grabItemData +import at.hannibal2.skyhanni.utils.ChatUtils import at.hannibal2.skyhanni.utils.InventoryUtils import at.hannibal2.skyhanni.utils.KeyboardManager.isKeyHeld import at.hannibal2.skyhanni.utils.LorenzUtils @@ -32,7 +33,7 @@ object TestCopyChestData { return } else if (InventoryUtils.openInventoryName().isNotEmpty()) { OSUtils.copyToClipboard(InventoryUtils.openInventoryName()) - LorenzUtils.chat("Chest name copied to clipboard.") + ChatUtils.chat("Chest name copied to clipboard.") return } } @@ -51,7 +52,7 @@ object TestCopyChestData { } } OSUtils.copyToClipboard(copyList.joinToString("\n")) - LorenzUtils.chat("Inventory $DEBUG_SUFFIX") + ChatUtils.chat("Inventory $DEBUG_SUFFIX") } private fun copyChestData(chest: List) { val copyList = mutableListOf("relevant config:", "includeNullSlots: ${config.includeNullSlots}", "includeUnnamedItems: ${config.includeUnnamedItems}", "includeArmor: ${config.includeArmor}", "", "chest name: '${InventoryUtils.openInventoryName()}'", "") @@ -69,7 +70,7 @@ object TestCopyChestData { } } OSUtils.copyToClipboard(copyList.joinToString("\n")) - LorenzUtils.chat("Chest $DEBUG_SUFFIX") + ChatUtils.chat("Chest $DEBUG_SUFFIX") } private fun ItemStack.getStackInfo(): List { val returnList = mutableListOf()