mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-18 21:41:37 +01:00
Fix a couple nits.
This commit is contained in:
parent
7b39d78bfd
commit
61cd593844
@ -30,10 +30,7 @@ public class MVCoreConfig implements MVConfig {
|
|||||||
private final ConfigHandle configHandle;
|
private final ConfigHandle configHandle;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
MVCoreConfig(
|
MVCoreConfig(@NotNull MultiverseCore core, @NotNull PluginManager pluginManager) {
|
||||||
@NotNull MultiverseCore core,
|
|
||||||
@NotNull PluginManager pluginManager
|
|
||||||
) {
|
|
||||||
this.configPath = Path.of(core.getDataFolder().getPath(), CONFIG_FILENAME);
|
this.configPath = Path.of(core.getDataFolder().getPath(), CONFIG_FILENAME);
|
||||||
this.configNodes = new MVCoreConfigNodes(pluginManager);
|
this.configNodes = new MVCoreConfigNodes(pluginManager);
|
||||||
this.configHandle = ConfigHandle.builder(configPath)
|
this.configHandle = ConfigHandle.builder(configPath)
|
||||||
|
@ -42,8 +42,11 @@ public class ConfigHandle {
|
|||||||
return new Builder(configPath);
|
return new Builder(configPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
protected final Path configPath;
|
protected final Path configPath;
|
||||||
|
@Nullable
|
||||||
protected final Logger logger;
|
protected final Logger logger;
|
||||||
|
@NotNull
|
||||||
protected final NodeGroup nodes;
|
protected final NodeGroup nodes;
|
||||||
|
|
||||||
protected final ConfigMigrator migrator;
|
protected final ConfigMigrator migrator;
|
||||||
|
Loading…
Reference in New Issue
Block a user