diff --git a/src/main/kotlin/com/viaversion/aas/platform/AspirinPlatform.kt b/src/main/kotlin/com/viaversion/aas/platform/AspirinPlatform.kt index 3f731dc..6cd2bb3 100644 --- a/src/main/kotlin/com/viaversion/aas/platform/AspirinPlatform.kt +++ b/src/main/kotlin/com/viaversion/aas/platform/AspirinPlatform.kt @@ -44,10 +44,6 @@ object AspirinPlatform : ViaPlatform { override fun runRepeatingSync(p0: Runnable, p1: Long): AspirinTask = AspirinTask(eventLoop.scheduleAtFixedRate(p0, 0, p1 * 50L, TimeUnit.MILLISECONDS)) - override fun cancelTask(p0: PlatformTask<*>?) { - (p0 as AspirinTask).obj.cancel(false) - } - override fun getDump(): JsonObject = JsonObject() override fun kickPlayer(p0: UUID, p1: String): Boolean = false override fun getApi(): ViaAPI = AspirinViaAPI @@ -63,4 +59,4 @@ object AspirinPlatform : ViaPlatform { override fun getPluginVersion(): String = VersionInfo.VERSION override fun isOldClientsAllowed(): Boolean = true override fun isProxy(): Boolean = true -} \ No newline at end of file +}