(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
committed by ajgeiss0702
parent 7ac5a48244
commit a5f6937cbe
@@ -47,7 +47,7 @@ public class Commands implements CommandExecutor {
String srvname = args[0];
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")) {
sender.sendMessage(color("&cYou do not have permission to do this!"));
return true;