1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

peepoPog wow

This commit is contained in:
Daniel Walsh 2021-10-10 18:42:08 +01:00
parent 3f00777db3
commit 9d222ec49c
No known key found for this signature in database
GPG Key ID: DA4CCF44247893FD
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ public class DebugCommand extends SubCommand {
String currentCase = Debug.getTestCase();
if (currentCase != null) {
Slimefun.getLocalization().sendMessage(sender, "commands.debug.current", true,
msg -> msg.replace("%test_case%", Debug.getTestCase() != null ? Debug.getTestCase() : "None")
msg -> msg.replace("%test_case%", currentCase)
);
} else {
Slimefun.getLocalization().sendMessage(sender, "commands.debug.none-running", true);

View File

@ -36,8 +36,8 @@ commands:
description: 'Run debug logging for the developers'
current: '&7Current test case: &6%test_case%'
none-running: '&7No test case is currently being ran!'
running: '&7Running debug mode with test: %test%'
disabled: '&7Disabled debug mode'
running: '&7Running debug mode with test: &6%test%'
disabled: '&7Disabled debug mode.'
placeholderapi:
profile-loading: 'Loading...'