From 59eef491fef0d7dd7f4018febe4d91de01369cbe Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Thu, 5 Sep 2024 00:51:21 +0200 Subject: Backend: Added Tags to Graph Editor (#2464) Co-authored-by: Thunderblade73 <85900443+thunderblade73@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/features/event/hoppity/HoppityCollectionStats.kt | 3 ++- src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt index f4d98e782..a06b3dcbc 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt @@ -9,6 +9,7 @@ import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent import at.hannibal2.skyhanni.features.inventory.chocolatefactory.ChocolateFactoryAPI import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule import at.hannibal2.skyhanni.utils.ChatUtils +import at.hannibal2.skyhanni.utils.CollectionUtils.addString import at.hannibal2.skyhanni.utils.CollectionUtils.collectWhile import at.hannibal2.skyhanni.utils.CollectionUtils.consumeWhile import at.hannibal2.skyhanni.utils.DisplayTableEntry @@ -220,7 +221,7 @@ object HoppityCollectionStats { val foundRabbitCount = getFoundRabbitsFromHypixel(event) if (loggedRabbitCount < foundRabbitCount) { - newList.add(Renderable.string("")) + newList.addString("") newList.add( Renderable.wrappedString( "§cPlease Scroll through \n" + "§call pages!", diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt index d2d351878..b6c1c81d0 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/TunnelsMaps.kt @@ -21,6 +21,7 @@ import at.hannibal2.skyhanni.events.LorenzWarpEvent import at.hannibal2.skyhanni.events.RepositoryReloadEvent import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule import at.hannibal2.skyhanni.test.command.ErrorManager +import at.hannibal2.skyhanni.utils.CollectionUtils.addString import at.hannibal2.skyhanni.utils.CollectionUtils.filterNotNullKeys import at.hannibal2.skyhanni.utils.ColorUtils.getFirstColorCode import at.hannibal2.skyhanni.utils.ColorUtils.toChromaColor @@ -284,12 +285,12 @@ object TunnelsMaps { ), ) } else { - add(Renderable.string("")) + addString("") } } } else { - add(Renderable.string("")) - add(Renderable.string("")) + addString("") + addString("") } addAll(locationDisplay) } -- cgit