Skip to content
Snippets Groups Projects
Commit ad667166 authored by Chris Kearney's avatar Chris Kearney
Browse files

everyone should be able to use the users command

parent d7f919df
No related branches found
No related tags found
No related merge requests found
package com.comandante.creeper.command.admin; package com.comandante.creeper.command;
import com.comandante.creeper.command.Command; import com.comandante.creeper.command.Command;
import com.comandante.creeper.command.CommandRunnable; import com.comandante.creeper.command.CommandRunnable;
...@@ -23,10 +23,9 @@ public class UsersCommand extends Command { ...@@ -23,10 +23,9 @@ public class UsersCommand extends Command {
final static List<String> validTriggers = Arrays.asList("users"); final static List<String> validTriggers = Arrays.asList("users");
final static String description = "Display extended inforation about who is logged in."; final static String description = "Display extended inforation about who is logged in.";
final static String correctUsage = "users"; final static String correctUsage = "users";
final static Set<PlayerRole> roles = Sets.newHashSet(PlayerRole.ADMIN);
public UsersCommand(GameManager gameManager) { public UsersCommand(GameManager gameManager) {
super(gameManager, validTriggers, description, correctUsage, roles); super(gameManager, validTriggers, description, correctUsage, null);
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment