aboutsummaryrefslogtreecommitdiff
path: root/spark-bungeecord
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2019-05-20 09:57:38 +0100
committerLuck <git@lucko.me>2019-05-20 09:57:38 +0100
commitfce29989563103fe8b36c60e3942a658ff62a9ce (patch)
treeba28b5219afd8c6fe58ed1d060bba8a84f67b13a /spark-bungeecord
parentaaa03b1cde9595afacfecd1a24e4540eda40a02a (diff)
downloadspark-fce29989563103fe8b36c60e3942a658ff62a9ce.tar.gz
spark-fce29989563103fe8b36c60e3942a658ff62a9ce.tar.bz2
spark-fce29989563103fe8b36c60e3942a658ff62a9ce.zip
Fix plugin init (#15)
Diffstat (limited to 'spark-bungeecord')
-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));
}