Fix set greet message (command changes the wrong entry)
This commit is contained in:
@@ -13,7 +13,7 @@ public class SetGreetMessageCommand implements CommandExecutor {
|
||||
} else {
|
||||
try {
|
||||
String greetMessage = String.join(" ", args);
|
||||
Main.configR.set("server.greet_message", greetMessage);
|
||||
Main.configR.set("server.entry_message", greetMessage);
|
||||
Main.configR.save(Main.config);
|
||||
|
||||
sender.sendMessage("Changed greet message successfully.");
|
||||
|
||||
Reference in New Issue
Block a user