From 565620bda8874195da2f38813809718741f70d72 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Sat, 5 Mar 2022 14:29:17 +0100 Subject: [PATCH] Improved user experience. --- src/main/java/nl/andrewl/randomhotbar/BlockPlaceListener.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/nl/andrewl/randomhotbar/BlockPlaceListener.java b/src/main/java/nl/andrewl/randomhotbar/BlockPlaceListener.java index 872a010..4aa9b3e 100644 --- a/src/main/java/nl/andrewl/randomhotbar/BlockPlaceListener.java +++ b/src/main/java/nl/andrewl/randomhotbar/BlockPlaceListener.java @@ -24,11 +24,13 @@ public class BlockPlaceListener implements NativeMouseInputListener { randSum += v.chance(); } this.settings = settings; + System.out.println("-".repeat(20)); for (var v : settings) { float percent = (v.chance() / randSum) * 100.0f; System.out.printf("Will use slot %d, %.1f%% of the time.\n", v.slot(), percent); } - System.out.printf("Starting at slot %d. Please select this slot if it is not selected already, then start right-clicking. Do not hold right-click.\n", currentSlot); + System.out.println("-".repeat(20)); + System.out.printf("Starting at slot %d.\n! Please select this slot if it is not selected already, then start right-clicking.\n! Do not hold right-click.\n", currentSlot); } private int getNextSlot() {