mirror of
https://github.com/jie65535/gc-openchat-plugin.git
synced 2025-06-01 17:29:11 +08:00
Add default reply in commands
This commit is contained in:
parent
659e5e1b51
commit
7c3f48589d
@ -43,6 +43,8 @@ public class ChatPlayerCommands implements CommandHandler {
|
||||
set.add(targetPlayer.getUid());
|
||||
OpenChatPlugin.getInstance().saveData();
|
||||
CommandHandler.sendMessage(sender, "OK");
|
||||
} else {
|
||||
sendUsageMessage(sender);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -98,6 +98,7 @@ public class ChatServerCommands implements CommandHandler {
|
||||
plugin.loadConfig();
|
||||
CommandHandler.sendMessage(sender, "OK");
|
||||
}
|
||||
default -> sendUsageMessage(sender);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user