mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-04 01:51:58 +02:00
Fixed reading world mirrors from the config.
This commit is contained in:
@@ -58,9 +58,9 @@ public class GMConfiguration {
|
||||
return GMconfig.getBoolean("settings.config.opOverrides", true);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public Map<String, Object> getMirrorsMap() {
|
||||
return (Map<String, Object>) GMconfig.getList("settings.permission.world.mirror");
|
||||
public Map<String, Object> getMirrorsMap() {
|
||||
|
||||
return (Map<String, Object>) GMconfig.getConfigurationSection("settings.permission.world.mirror").getValues(false);
|
||||
}
|
||||
|
||||
public Integer getSaveInterval() {
|
||||
|
Reference in New Issue
Block a user