From 2f1a3bcc22487f7876b37753da1104e2aee3b29f Mon Sep 17 00:00:00 2001 From: Jeremy Wood Date: Thu, 9 Mar 2023 09:24:55 -0500 Subject: [PATCH] Use Provider for MVCoreConfigProvider in MultiverseCore. --- .../java/com/onarandombox/MultiverseCore/MultiverseCore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java index d0b7ac32..4c56b821 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java +++ b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java @@ -53,7 +53,7 @@ public class MultiverseCore extends JavaPlugin implements MVCore { @Inject private Provider worldManagerProvider; @Inject - private MVCoreConfigProvider configProvider; + private Provider configProviderProvider; // Counter for the number of plugins that have registered with us private int pluginCount; @@ -220,7 +220,7 @@ public class MultiverseCore extends JavaPlugin implements MVCore { } private MVCoreConfigProvider getConfigProvider() { - return configProvider; + return configProviderProvider.get(); } /**