From 8a556c5b059b5a214db88a7eca7dccbfa26a8e98 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 2 Mar 2023 02:14:51 +0100 Subject: Design change at bingo card and fix sneak not working when bingo next step not enabled. --- .../java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt | 4 ++-- .../java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt index 824fd7942..eef8ec213 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt @@ -124,7 +124,7 @@ class BingoCardDisplay { display.add("Community Goals") if (communityGoals.isEmpty()) { - display.add("§7Open the §e/bingo §7card.") + display.add("§cOpen the §e/bingo §ccard.") } else { communityGoals.mapTo(display) { " " + it.description + if (it.done) " §aDONE" else "" } @@ -158,7 +158,7 @@ class BingoCardDisplay { } } if (!config.stepHelper && displayMode == 1) { - displayMode = 0 + displayMode = 2 } if (displayMode == 0) { if (Minecraft.getMinecraft().currentScreen !is GuiChat) { diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt index 91b5b9bd6..5cc3b7ca3 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt @@ -42,12 +42,11 @@ class BingoNextStepHelper { } currentHelp.clear() - currentHelp.add("Bingo Step Helper:") + currentHelp.add("Bingo Step Helper") if (currentSteps.isEmpty()) { - currentHelp.add("§7Open the §e/bingo §7card.") + currentHelp.add("§cOpen the §e/bingo §ccard.") } - for (currentStep in currentSteps) { val text = getName(currentStep) currentHelp.add(" §7$text") -- cgit