small cleanup

This commit is contained in:
Luck
2016-07-12 11:50:49 +01:00
Unverified
parent f35cb95001
commit ad9b190a7c
4 changed files with 11 additions and 8 deletions
@@ -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));
+1 -1
View File
@@ -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.