mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
config: Add getFields method to Config
This commit is contained in:
@@ -36,6 +36,15 @@ public class Config {
|
||||
fields.put(field.path(), field);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the logger associated with this configuration.
|
||||
*
|
||||
* @return the logger
|
||||
*/
|
||||
public Map<String, ConfigField<?>> getFields() {
|
||||
return fields;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the value of a configuration field by its path.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user