(spigot) echo queue name when sending a player to a queue
This commit is contained in:
@@ -47,7 +47,7 @@ public class Commands implements CommandExecutor {
|
|||||||
String srvname = args[0];
|
String srvname = args[0];
|
||||||
|
|
||||||
if(args.length > 1) {
|
if(args.length > 1) {
|
||||||
pl.getLogger().info("Sending "+args[0]+" to queue");
|
pl.getLogger().info("Sending "+args[0]+" to queue '" + args[1] + "'");
|
||||||
if(!sender.hasPermission("ajqueue.send")) {
|
if(!sender.hasPermission("ajqueue.send")) {
|
||||||
sender.sendMessage(color("&cYou do not have permission to do this!"));
|
sender.sendMessage(color("&cYou do not have permission to do this!"));
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user