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/main/java/me/lucko/spark | |
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/main/java/me/lucko/spark')
-rw-r--r-- | bukkit/src/main/java/me/lucko/spark/bukkit/SparkBukkitPlugin.java | 5 |
1 files changed, 5 insertions, 0 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); } |