aboutsummaryrefslogtreecommitdiff
path: root/spark-bungeecord/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'spark-bungeecord/src/main')
-rw-r--r--spark-bungeecord/src/main/java/me/lucko/spark/bungeecord/SparkBungeeCordPlugin.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/spark-bungeecord/src/main/java/me/lucko/spark/bungeecord/SparkBungeeCordPlugin.java b/spark-bungeecord/src/main/java/me/lucko/spark/bungeecord/SparkBungeeCordPlugin.java
index 193ae06..121a678 100644
--- a/spark-bungeecord/src/main/java/me/lucko/spark/bungeecord/SparkBungeeCordPlugin.java
+++ b/spark-bungeecord/src/main/java/me/lucko/spark/bungeecord/SparkBungeeCordPlugin.java
@@ -37,10 +37,11 @@ import java.util.stream.Collectors;
public class SparkBungeeCordPlugin extends Plugin implements SparkPlugin {
- private final SparkPlatform platform = new SparkPlatform(this);
+ private SparkPlatform platform;
@Override
public void onEnable() {
+ this.platform = new SparkPlatform(this);
this.platform.enable();
getProxy().getPluginManager().registerCommand(this, new SparkCommand(this));
}