From 1d8b7acb0731e303a7a367474e3b6d76eedba6ac Mon Sep 17 00:00:00 2001 From: Mehrad Nayyeri Date: Wed, 1 Mar 2023 08:36:24 +0330 Subject: [PATCH] Renamed /rollback backup new to /rollback backup now --- src/main/java/ir/mehradn/rollback/event/RollbackCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ir/mehradn/rollback/event/RollbackCommand.java b/src/main/java/ir/mehradn/rollback/event/RollbackCommand.java index d1ceaca..c23aea3 100644 --- a/src/main/java/ir/mehradn/rollback/event/RollbackCommand.java +++ b/src/main/java/ir/mehradn/rollback/event/RollbackCommand.java @@ -31,7 +31,7 @@ public static void register() { dispatcher.register(CommandManager.literal("rollback") .requires(RollbackCommand::hasAccessToCommand) .then(CommandManager.literal("backup") - .then(CommandManager.literal("new") + .then(CommandManager.literal("now") .executes(RollbackCommand::backupNow)) .then(CommandManager.literal("delete") .then(CommandManager.literal("oldest")