Feature: unload bukkit commands per config.yml
This commit is contained in:
parent
b260d9c341
commit
4a374c5f43
7 changed files with 104 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ import java.io.IOException;
|
|||
import java.io.InputStream;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import net.frankheijden.serverutils.common.config.YamlConfig;
|
||||
|
|
@ -40,6 +41,11 @@ public class BungeeYamlConfig implements YamlConfig {
|
|||
return obj;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> getStringList(String path) {
|
||||
return config.getStringList(path);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> getMap(String path) {
|
||||
Object obj = config.get(path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue