From 0370e9f454f2996d897e174b3652a64cb992b36e Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sun, 3 Jul 2022 16:49:26 +0100 Subject: [PATCH] Fixed startup order --- eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java b/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java index 012d4484..962fb9ab 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java +++ b/eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java @@ -304,6 +304,7 @@ public abstract class EcoPlugin extends JavaPlugin implements PluginLike { this.color = props.getColor(); this.supportingExtensions = props.isSupportingExtensions(); + this.proxyFactory = this.proxyPackage.equalsIgnoreCase("") ? null : Eco.getHandler().createProxyFactory(this); this.logger = Eco.getHandler().createLogger(this); this.getLogger().info("Initializing " + this.getColor() + this.getName()); @@ -315,7 +316,6 @@ public abstract class EcoPlugin extends JavaPlugin implements PluginLike { this.runnableFactory = Eco.getHandler().createRunnableFactory(this); this.extensionLoader = Eco.getHandler().createExtensionLoader(this); this.configHandler = Eco.getHandler().createConfigHandler(this); - this.proxyFactory = this.proxyPackage.equalsIgnoreCase("") ? null : Eco.getHandler().createProxyFactory(this); this.langYml = this.createLangYml(); this.configYml = this.createConfigYml();