mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-31 20:41:28 +01:00
Fix number of args for migratedb command.
This commit is contained in:
parent
96a69aa2ef
commit
ffda88f193
@ -1170,7 +1170,7 @@ public void save(CommandContext args, CommandSender sender) throws CommandExcept
|
||||
* @throws CommandException any error
|
||||
*/
|
||||
@Command(aliases = {"migratedb"}, usage = "<from> <to>",
|
||||
desc = "Migrate from one Protection Database to another.", min = 1)
|
||||
desc = "Migrate from one Protection Database to another.", min = 2, max = 2)
|
||||
public void migrateDB(CommandContext args, CommandSender sender) throws CommandException {
|
||||
// Check permissions
|
||||
if (!getPermissionModel(sender).mayMigrateRegionStore()) {
|
||||
|
Loading…
Reference in New Issue
Block a user