Commit c9fe46dd authored by Linus K.'s avatar Linus K.
Browse files

Small fix

parent 55ce1251
Pipeline #171 passed with stage
in 1 minute and 10 seconds
......@@ -10,7 +10,7 @@ class Plugin: JavaPlugin() {
override fun onEnable() {
try {
Signal.handle(Signal("USR2")) { signal: Signal ->
println("[$name] Got signal ${signal.name} ({$signal.number})")
println("[$name] Got signal ${signal.name} ({${signal.number}})")
val pl = Bukkit.getPluginManager().getPlugin(name);
if(pl == null) {
println("[$name] Failed to find plugin instance. Can't execute /stop command!")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment