Skip to content

Commit

Permalink
Fix concurrent migration protection
Browse files Browse the repository at this point in the history
  • Loading branch information
LMBishop committed Apr 23, 2022
1 parent 894f1c2 commit 18fc66d
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -34,6 +34,7 @@ public void handle(CommandSender sender, String[] args) {

if (migrationInProgress.get()) {
sender.sendMessage(ChatColor.RED + "A migration is already in progress.");
return;
}

if (args.length == 3 && args[2].equalsIgnoreCase("execute")) {
Expand Down

0 comments on commit 18fc66d

Please sign in to comment.