(spigot) echo queue name when sending a player to a queue

This commit is contained in:
ajgeiss0702
2023-04-20 14:19:09 -07:00
parent 1c9a41316c
commit 786a302a2a
@@ -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;