From 2af705974954513e63fe72ed7def199a33c9693e Mon Sep 17 00:00:00 2001 From: Melledy <121644117+Melledy@users.noreply.github.com> Date: Fri, 24 Nov 2023 21:20:54 -0800 Subject: [PATCH] Update welcome mail --- src/main/java/emu/lunarcore/Config.java | 12 ++++++------ .../emu/lunarcore/command/commands/HelpCommand.java | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/java/emu/lunarcore/Config.java b/src/main/java/emu/lunarcore/Config.java index eb80f38..cc5cadf 100644 --- a/src/main/java/emu/lunarcore/Config.java +++ b/src/main/java/emu/lunarcore/Config.java @@ -114,13 +114,13 @@ public class Config { public WelcomeMail() { this.title = "Welcome to a LunarCore server"; this.sender = "Server"; - this.content = "Welcome to Lunar Core! Please take these items as a starter gift. For a list of commands, type /help in the server chat window. Check out our Discord for more information about the server."; + this.content = "Welcome to Lunar Core! Please take these items as a starter gift. For a list of commands, type /help in the server chat window. Check out our Discord and Github for more information about the server."; this.attachments = List.of( - new ItemParam(2, 1000000), - new ItemParam(101, 100), - new ItemParam(102, 100), - new ItemParam(1001, 1), - new ItemParam(1002, 1) + new ItemParam(2, 1000000), + new ItemParam(101, 100), + new ItemParam(102, 100), + new ItemParam(1001, 1), + new ItemParam(1002, 1) ); } } diff --git a/src/main/java/emu/lunarcore/command/commands/HelpCommand.java b/src/main/java/emu/lunarcore/command/commands/HelpCommand.java index 9442add..dfb248d 100644 --- a/src/main/java/emu/lunarcore/command/commands/HelpCommand.java +++ b/src/main/java/emu/lunarcore/command/commands/HelpCommand.java @@ -11,7 +11,6 @@ public class HelpCommand implements CommandHandler { @Override public void execute(Player sender, CommandArgs args) { - StringBuilder help = new StringBuilder(); this.sendMessage(sender, "Displaying list of commands:"); var labels = LunarCore.getCommandManager().getLabels().keySet().stream().sorted().toList();