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.java8
1 files changed, 7 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 da8ebf9..6d23683 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
@@ -34,6 +34,7 @@ import net.md_5.bungee.api.plugin.Command;
import net.md_5.bungee.api.plugin.Plugin;
import net.md_5.bungee.api.plugin.TabExecutor;
+import java.nio.file.Path;
import java.util.Collections;
public class SparkBungeeCordPlugin extends Plugin {
@@ -54,7 +55,12 @@ public class SparkBungeeCordPlugin extends Plugin {
@Override
public String getVersion() {
- return SparkBungeeCordPlugin.this.getDescription().getVersion();
+ return getDescription().getVersion();
+ }
+
+ @Override
+ public Path getPluginFolder() {
+ return getDataFolder().toPath();
}
@Override