mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-23 02:55:40 +01:00
Prevent error when issuing /quests list from console
This commit is contained in:
parent
dbdf3f3d07
commit
e77714f4f5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user