diff options
author | Luck <git@lucko.me> | 2019-05-20 09:57:38 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2019-05-20 09:57:38 +0100 |
commit | fce29989563103fe8b36c60e3942a658ff62a9ce (patch) | |
tree | ba28b5219afd8c6fe58ed1d060bba8a84f67b13a /spark-bungeecord | |
parent | aaa03b1cde9595afacfecd1a24e4540eda40a02a (diff) | |
download | spark-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.java | 3 |
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)); } |