diff options
author | Luck <git@lucko.me> | 2018-05-29 01:01:30 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2018-05-29 01:01:30 +0100 |
commit | bf72b1560340b48fc0958b3b2038ba13d49b7190 (patch) | |
tree | d3035fb87c625024144f1e5f4985c120b2fac030 /bukkit/src | |
parent | a895841c1c9d8bc94651246d4645ede5b4d54d06 (diff) | |
download | spark-bf72b1560340b48fc0958b3b2038ba13d49b7190.tar.gz spark-bf72b1560340b48fc0958b3b2038ba13d49b7190.tar.bz2 spark-bf72b1560340b48fc0958b3b2038ba13d49b7190.zip |
Multiple fixes
* Fixed an issue which prevented links from being “clickable”
* Added a /spark alias
* Added a max stack depth limit to fix issues with rendering
Diffstat (limited to 'bukkit/src')
-rw-r--r-- | bukkit/src/main/java/me/lucko/spark/bukkit/SparkBukkitPlugin.java | 5 | ||||
-rw-r--r-- | bukkit/src/main/resources/plugin.yml | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/bukkit/src/main/java/me/lucko/spark/bukkit/SparkBukkitPlugin.java b/bukkit/src/main/java/me/lucko/spark/bukkit/SparkBukkitPlugin.java index 0ddbce0..cc774a3 100644 --- a/bukkit/src/main/java/me/lucko/spark/bukkit/SparkBukkitPlugin.java +++ b/bukkit/src/main/java/me/lucko/spark/bukkit/SparkBukkitPlugin.java @@ -16,6 +16,11 @@ public class SparkBukkitPlugin extends JavaPlugin { } @Override + protected void sendLink(CommandSender sender, String url) { + sendMessage(sender, "&7" + url); + } + + @Override protected void runAsync(Runnable r) { getServer().getScheduler().runTaskAsynchronously(SparkBukkitPlugin.this, r); } diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/main/resources/plugin.yml index a1e473e..1914e04 100644 --- a/bukkit/src/main/resources/plugin.yml +++ b/bukkit/src/main/resources/plugin.yml @@ -1,9 +1,10 @@ name: spark -version: ${project.version} +version: 1.0.2 description: ${project.description} authors: [Luck, sk89q] main: me.lucko.spark.bukkit.SparkBukkitPlugin commands: - profiler: - description: Main plugin command
\ No newline at end of file + spark: + description: Main plugin command + aliases: [profiler]
\ No newline at end of file |