From c19a902d2ef4aa93ff2d3cc93230f067e9315b71 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Tue, 20 Feb 2024 00:59:39 +1100 Subject: Created ActionBarUpdateEvent and used it. #977 --- .../java/at/hannibal2/skyhanni/config/commands/Commands.kt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands') diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index 6e7c80ce1..3a0290b6a 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -57,6 +57,7 @@ import at.hannibal2.skyhanni.test.SkyHanniConfigSearchResetCommand import at.hannibal2.skyhanni.test.SkyHanniDebugsAndTests import at.hannibal2.skyhanni.test.TestBingo import at.hannibal2.skyhanni.test.WorldEdit +import at.hannibal2.skyhanni.test.command.CopyActionBarCommand import at.hannibal2.skyhanni.test.command.CopyBossbarCommand import at.hannibal2.skyhanni.test.command.CopyItemCommand import at.hannibal2.skyhanni.test.command.CopyNearbyEntitiesCommand @@ -374,7 +375,14 @@ object Commands { "shcopyentities", "Copies entities in the specified radius around the player to the clipboard" ) { CopyNearbyEntitiesCommand.command(it) } - registerCommand("shcopytablist", "Copies the tab list data to the clipboard") { TabListData.copyCommand(it) } + registerCommand( + "shcopytablist", + "Copies the tab list data to the clipboard" + ) { TabListData.copyCommand(it) } + registerCommand( + "shcopyactionbar", + "Copies the action bar to the clipboard, including formatting codes" + ) { CopyActionBarCommand.command(it) } registerCommand( "shcopyscoreboard", "Copies the scoreboard data to the clipboard" -- cgit