Fix broken commands.yml (close #276)
This commit is contained in:
parent
4b705b50af
commit
be83aa26fc
@ -1150,7 +1150,7 @@ public final class CraftServer implements Server {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Map<String, String[]> getCommandAliases() {
|
public Map<String, String[]> getCommandAliases() {
|
||||||
ConfigurationSection section = configuration.getConfigurationSection("aliases");
|
ConfigurationSection section = commandsConfiguration.getConfigurationSection("aliases");
|
||||||
Map<String, String[]> result = new LinkedHashMap<String, String[]>();
|
Map<String, String[]> result = new LinkedHashMap<String, String[]>();
|
||||||
|
|
||||||
if (section != null) {
|
if (section != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user