Fixed problem in KSpigotRunnable.kt

This commit is contained in:
bluefireoly
2020-09-05 19:48:46 +02:00
parent 77e13c0b59
commit 594455e3f9

View File

@@ -83,7 +83,7 @@ fun KSpigot.task(
}
if (safe) if (endCallback != null) kRunnableHolder.add(bukkitRunnable, endCallback)
if (endCallback != null) kRunnableHolder.add(bukkitRunnable, endCallback)
if (sync)
bukkitRunnable.runTaskTimer(this, delay, period ?: 20)