Prevent error when issuing /quests list from console

This commit is contained in:
PikaMug 2020-10-24 19:50:15 -04:00
parent dbdf3f3d07
commit e77714f4f5

View File

@ -796,6 +796,7 @@ public class CmdExecutor implements CommandExecutor {
cs.sendMessage(ChatColor.YELLOW + "" + num + ". " + q.getName());
num++;
}
return;
}
final Player player = (Player)cs;
if (args.length == 1) {