9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-26 01:59:20 +00:00

Fix wrong syntax message on /userdata restore, Close #166

This commit is contained in:
William
2023-09-22 13:26:31 +01:00
parent 1d3e4b7a20
commit 635edb930f

View File

@@ -129,7 +129,7 @@ public class UserDataCommand extends Command implements TabProvider {
case "restore" -> {
if (optionalUuid.isEmpty()) {
plugin.getLocales().getLocale("error_invalid_syntax",
"/userdata delete <username> <version_uuid>")
"/userdata restore <username> <version_uuid>")
.ifPresent(executor::sendMessage);
return;
}