forked from SteamWar/SteamWar
Update SendCommand
This commit is contained in:
@@ -76,9 +76,7 @@ public class SendCommand extends SWCommand {
|
|||||||
|
|
||||||
switch (subserver.getType()) {
|
switch (subserver.getType()) {
|
||||||
case ARENA:
|
case ARENA:
|
||||||
if (user.hasPerm(UserPerm.MODERATION) || user.hasPerm(UserPerm.ADMINISTRATION)) {
|
tabCompletes.add(name);
|
||||||
tabCompletes.add(name);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case BUILDER:
|
case BUILDER:
|
||||||
if (user.hasPerm(UserPerm.BUILD)) {
|
if (user.hasPerm(UserPerm.BUILD)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user