Adds a method to be able to read config options
This commit is contained in:
parent
d5f4b87e9b
commit
aba70b669e
@ -93,6 +93,15 @@ public final class StargateConfig {
|
||||
setupVaultEconomy();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a copy of all loaded config options with its values
|
||||
*
|
||||
* @return <p>The loaded config options</p>
|
||||
*/
|
||||
public Map<ConfigOption, Object> getConfigOptions() {
|
||||
return new HashMap<>(configOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the queue of open portals
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user