Fix broken commands.yml (close #97)
This commit is contained in:
parent
0097a0744a
commit
299cf0ed96
@ -1152,7 +1152,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