mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-09 04:20:32 +01:00
Fixed setting name of section commands
This commit is contained in:
parent
a6864b9b51
commit
a628eb524e
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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[] {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user