diff options
| author | Brady <thatgravyboat@gmail.com> | 2024-05-08 08:30:59 -0230 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-08 13:00:59 +0200 |
| commit | f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f (patch) | |
| tree | c344555d1a09f27b74347413f828df71fe95767b /src/main/java/at/hannibal2/skyhanni/features/dungeon | |
| parent | 49d918a5d01f102796c2ef52a26e69a41892eb8f (diff) | |
| download | skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.tar.gz skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.tar.bz2 skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.zip | |
Backend: Text API (#1718)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonArchitectFeatures.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonArchitectFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonArchitectFeatures.kt index d23d5dda9..29d3f8d11 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonArchitectFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonArchitectFeatures.kt @@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.data.SackAPI.getAmountInSacks import at.hannibal2.skyhanni.events.LorenzChatEvent import at.hannibal2.skyhanni.utils.ChatUtils +import at.hannibal2.skyhanni.utils.HypixelCommands import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.NEUInternalName.Companion.asInternalName import at.hannibal2.skyhanni.utils.StringUtils.matchMatcher @@ -43,12 +44,11 @@ class DungeonArchitectFeatures { val architectItemAmount = architectsFirstDraftItem.getAmountInSacks() if (architectItemAmount <= 0) return - // TODO use hypxel command class (once the pr is merged ChatUtils.clickableChat( "§c§lPUZZLE FAILED! §r§b$name §r§efailed a puzzle. \n" + "§eClick here to get §5Architect's First Draft §7(§e${architectItemAmount}x left§7)", - "/gfs ARCHITECT_FIRST_DRAFT 1", - false + { HypixelCommands.getFromSacks("ARCHITECT_FIRST_DRAFT", 1) }, + prefix = false ) LorenzUtils.sendTitle("§c§lPUZZLE FAILED!", 3.seconds) event.blockedReason = "puzzle_fail" |
