small cleanup
This commit is contained in:
@@ -20,7 +20,7 @@ class CommandManagerBukkit extends CommandManager implements CommandExecutor {
|
||||
return onCommand(new Sender() {
|
||||
@Override
|
||||
public void sendMessage(String s) {
|
||||
CommandSender c = cs.get();
|
||||
final CommandSender c = cs.get();
|
||||
if (c != null) {
|
||||
c.sendMessage(s);
|
||||
}
|
||||
@@ -28,7 +28,7 @@ class CommandManagerBukkit extends CommandManager implements CommandExecutor {
|
||||
|
||||
@Override
|
||||
public boolean hasPermission(String node) {
|
||||
CommandSender c = cs.get();
|
||||
final CommandSender c = cs.get();
|
||||
return c != null && c.hasPermission(node);
|
||||
}
|
||||
}, Arrays.asList(args));
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# The name of the server, used for server specific permissions. Set to 'global' to disable.
|
||||
server: global
|
||||
|
||||
# The default group assigned to all user on join.
|
||||
# The default group assigned to all users on their first join.
|
||||
default-group: default
|
||||
|
||||
# If users on this server should have their global permissions/groups applied.
|
||||
|
||||
Reference in New Issue
Block a user