mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-01 17:36:46 +01:00
NuclearW loves his spacing, also pinging him.
This commit is contained in:
parent
7294175d9c
commit
b700a99c52
@ -127,9 +127,12 @@ public class McrankCommand implements CommandExecutor {
|
||||
if (mcMMO.queueManager.contains(sender.getName())) {
|
||||
sender.sendMessage(ChatColor.RED + "Please wait for your previous command to process");
|
||||
}
|
||||
|
||||
if (!mcMMO.queueManager.queue(new McRankAsync(playerName, sender))) {
|
||||
// This will only run if for some reason it is unable to add to the queue
|
||||
sender.sendMessage(ChatColor.RED + "Unable to add to queue.");
|
||||
}
|
||||
|
||||
sender.sendMessage(ChatColor.YELLOW + "Calculating mcMMO rankings...");
|
||||
}
|
||||
}
|
||||
|
@ -126,10 +126,14 @@ public class MctopCommand implements CommandExecutor {
|
||||
//TODO: Localize messages
|
||||
if (mcMMO.queueManager.contains(sender.getName())) {
|
||||
sender.sendMessage(ChatColor.RED + "Please wait for your previous command to process");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mcMMO.queueManager.queue(new McTopAsync(page, query, sender))) {
|
||||
// This will only run if for some reason it is unable to add to the queue
|
||||
sender.sendMessage(ChatColor.RED + "Unable to add to queue.");
|
||||
}
|
||||
|
||||
sender.sendMessage(ChatColor.YELLOW + "Calculating mcMMO rankings...");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user