Fixed setting name of section commands

This commit is contained in:
Jaime Martínez Rincón 2017-09-25 16:25:23 +02:00
parent a6864b9b51
commit a628eb524e
3 changed files with 3 additions and 6 deletions

View File

@ -47,10 +47,7 @@ public class FallbackCommand extends Command {
continue; continue;
} }
ConnectionIntent.direct(plugin, player, server, (response, throwable) -> { ConnectionIntent.direct(plugin, player, server, (response, throwable) -> { });
//TODO Handle this
});
break; break;
} }
} }

View File

@ -49,7 +49,7 @@ public class CommandProps {
if (aliases != null) { if (aliases != null) {
return aliases.toArray(new String[aliases.size()]); return aliases.toArray(new String[aliases.size()]);
} else { } else {
return new String[]{}; return new String[] {};
} }
} }

View File

@ -17,7 +17,7 @@ public class SectionProps {
@Setting(value = "servers") @Setting(value = "servers")
private List<String> serverEntries; private List<String> serverEntries;
@Setting(value = "section-commandProps") @Setting(value = "section-command")
private CommandProps commandProps; private CommandProps commandProps;
@Setting(value = "section-server") @Setting(value = "section-server")