From ad66716685e736825db4e3a2f09d08d6475fa9ca Mon Sep 17 00:00:00 2001 From: Chris Kearney <chris@kearneymail.com> Date: Sun, 7 Aug 2016 16:19:40 -0700 Subject: [PATCH] everyone should be able to use the users command --- .../comandante/creeper/command/{admin => }/UsersCommand.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename src/main/java/com/comandante/creeper/command/{admin => }/UsersCommand.java (97%) diff --git a/src/main/java/com/comandante/creeper/command/admin/UsersCommand.java b/src/main/java/com/comandante/creeper/command/UsersCommand.java similarity index 97% rename from src/main/java/com/comandante/creeper/command/admin/UsersCommand.java rename to src/main/java/com/comandante/creeper/command/UsersCommand.java index 27904e6a..77c1e1e3 100755 --- a/src/main/java/com/comandante/creeper/command/admin/UsersCommand.java +++ b/src/main/java/com/comandante/creeper/command/UsersCommand.java @@ -1,4 +1,4 @@ -package com.comandante.creeper.command.admin; +package com.comandante.creeper.command; import com.comandante.creeper.command.Command; import com.comandante.creeper.command.CommandRunnable; @@ -23,10 +23,9 @@ public class UsersCommand extends Command { final static List<String> validTriggers = Arrays.asList("users"); final static String description = "Display extended inforation about who is logged in."; final static String correctUsage = "users"; - final static Set<PlayerRole> roles = Sets.newHashSet(PlayerRole.ADMIN); public UsersCommand(GameManager gameManager) { - super(gameManager, validTriggers, description, correctUsage, roles); + super(gameManager, validTriggers, description, correctUsage, null); } @Override -- GitLab