diff options
| author | Cow <cow@volloeko.de> | 2023-07-16 13:12:29 +0200 |
|---|---|---|
| committer | Cow <cow@volloeko.de> | 2023-07-16 13:12:29 +0200 |
| commit | 927da68630bb651dd39294cd88e79557fae6bfc6 (patch) | |
| tree | 761a54115e80fffb691342363d10ede9d189befe /src/main/java/de/cowtipper/cowlection/command | |
| parent | 24c9e641a1dc0c109d94504ef707a10171b837c4 (diff) | |
| download | Cowlection-927da68630bb651dd39294cd88e79557fae6bfc6.tar.gz Cowlection-927da68630bb651dd39294cd88e79557fae6bfc6.tar.bz2 Cowlection-927da68630bb651dd39294cd88e79557fae6bfc6.zip | |
Changed dungeons overlay to be disabled by default
Other mods track and display the info much more accurately.
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/command')
| -rw-r--r-- | src/main/java/de/cowtipper/cowlection/command/MooCommand.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java index 13db747..6debc4e 100644 --- a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java +++ b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java @@ -1062,9 +1062,13 @@ public class MooCommand extends CommandBase { } private void sendCommandUsage(ICommandSender sender) { + IChatComponent dungeonOverlayHint = MooConfig.dungOverlayEnabled + ? new MooChatComponent("\n").reset().white().appendText(EnumChatFormatting.DARK_GREEN + " ❢" + EnumChatFormatting.LIGHT_PURPLE + EnumChatFormatting.ITALIC + " To move the Dungeons overlay: " + EnumChatFormatting.WHITE + "/" + getCommandName() + " config " + EnumChatFormatting.GRAY + "➡ " + EnumChatFormatting.WHITE + "SB Dungeons " + EnumChatFormatting.GRAY + "➡ " + EnumChatFormatting.WHITE + "Dungeon Performance Overlay") + : null; + IChatComponent usage = new MooChatComponent("➜ " + Cowlection.MODNAME + " commands:").gold().bold() .appendSibling(createCmdHelpEntry("config", "Open mod's configuration")) - .appendSibling(new MooChatComponent("\n").reset().white().appendText(EnumChatFormatting.DARK_GREEN + " ❢" + EnumChatFormatting.LIGHT_PURPLE + EnumChatFormatting.ITALIC + " To move the Dungeons overlay: " + EnumChatFormatting.WHITE + "/" + getCommandName() + " config " + EnumChatFormatting.GRAY + "➡ " + EnumChatFormatting.WHITE + "SB Dungeons " + EnumChatFormatting.GRAY + "➡ " + EnumChatFormatting.WHITE + "Dungeon Performance Overlay")) + .appendSibling(dungeonOverlayHint) .appendSibling(new MooChatComponent("\n").reset().gray().appendText(EnumChatFormatting.DARK_GREEN + " ❢" + EnumChatFormatting.GRAY + EnumChatFormatting.ITALIC + " Commands marked with §d§l⚷" + EnumChatFormatting.GRAY + EnumChatFormatting.ITALIC + " require a valid API key")) .appendSibling(createCmdHelpSection(1, "Best friends, friends & other players")) .appendSibling(createCmdHelpEntry("stalk", "Get info of player's status §d§l⚷")) |
